Core/Unit: unambiguosly define PLAYER_FIELD_MOD_DAMAGE_DONE_ fields as signed - They were used both signed and unsignedly

This commit is contained in:
hondacrx
2018-03-12 13:16:59 -04:00
parent ac2224808e
commit f6fc8fae09
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -3912,7 +3912,7 @@ namespace Game.Spells
for (int i = 0; i < (int)SpellSchools.Max; ++i)
{
if (Convert.ToBoolean(GetMiscValue() & (1 << i)))
target.ApplyModUInt32Value(baseField + i, GetAmount(), apply);
target.ApplyModInt32Value(baseField + i, GetAmount(), apply);
}
Guardian pet = target.ToPlayer().GetGuardianPet();