From 6917f40d3e37ff41dc5222310358a895155b8ef0 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 1 Jan 2024 12:28:15 -0800 Subject: [PATCH] 11/2000 also doesn't expect mag colors --- src/ItemCreator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ItemCreator.cc b/src/ItemCreator.cc index 17f17dff..081e1977 100644 --- a/src/ItemCreator.cc +++ b/src/ItemCreator.cc @@ -708,7 +708,7 @@ void ItemCreator::generate_common_mag_variances(ItemData& item) { // The original code (on PSO GC) assigns the mag color as 0x0E. We assign // a random color instead. - if (this->version == Version::DC_NTE) { + if (is_pre_v1(this->version)) { item.data2[3] = 0x00; } else if (is_v1_or_v2(this->version)) { item.data2[3] = this->random_crypt.next() % 0x0E;