Core/Player: Fixed gem activation requirements

Not sure if the structure is totally correct, but it can now properly read all the data we actually use
This commit is contained in:
Ryan committed 2017-05-28 19:55:25 +01:00
1 parent 34a73e8cf1
commit be1ca945c7
3 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -22435,7 +22435,7 @@ bool Player::EnchantmentFitsRequirements(uint32 enchantmentcondition, int8 slot)
bool activate = true;
for (uint8 i = 0; i < 5; i++)
for (uint8 i = 0; i < 3; i++)
{
if (!Condition->Color[i])
continue;