Update formula for GameObject 'autoclose' time (dataN-field in_template), by NoFantasy.
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user