int16/32 mismatch fixes. see changelog.txt

This commit is contained in:
SecretsOTheP committed 2014-11-03 22:43:00 -05:00
1 parent beff1caf4f
commit 29d614421f
15 files changed
+751 -750

No files matched your search

+1 -1
View File
@@ -2098,7 +2098,7 @@ void NPC::CalcNPCDamage() {
max_dmg = (GetLevel()*2)*AC_adjust/10;
}
int clfact = GetClassLevelFactor();
int32 clfact = GetClassLevelFactor();
min_dmg = (min_dmg * clfact) / 220;
max_dmg = (max_dmg * clfact) / 220;