Update formula for GameObject 'autoclose' time (dataN-field in_template), by NoFantasy.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2010-01-16 19:31:49 +03:00
parent ed5152316f
commit ec10853f22
+1 -1
View File
@@ -479,7 +479,7 @@ struct GameObjectInfo
case GAMEOBJECT_TYPE_AREADAMAGE: autoCloseTime = areadamage.autoCloseTime; break;
default: break;
}
return autoCloseTime / 0x10000;
return autoCloseTime / IN_MILISECONDS; // prior to 3.0.3, conversion was / 0x10000;
}
uint32 GetLootId() const