mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +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;
|
case GAMEOBJECT_TYPE_AREADAMAGE: autoCloseTime = areadamage.autoCloseTime; break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
return autoCloseTime / 0x10000;
|
return autoCloseTime / IN_MILISECONDS; // prior to 3.0.3, conversion was / 0x10000;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 GetLootId() const
|
uint32 GetLootId() const
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9178"
|
#define REVISION_NR "9179"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue