mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9179] Update formula for GameObject 'autoclose' time (dataN-field in _template)
This require database support/dataN-fields update for correct calculation of time (now in milliseconds) Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
98f3ed3d4b
commit
c4b0406e7d
2 changed files with 2 additions and 2 deletions
|
|
@ -477,7 +477,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue