mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Remove special case for Mangos in preparation of internal timer rewrite
This commit is contained in:
@@ -13,20 +13,12 @@
|
||||
|
||||
uint32 ElunaUtil::GetCurrTime()
|
||||
{
|
||||
#if !defined TRINITY && !AZEROTHCORE
|
||||
return WorldTimer::getMSTime();
|
||||
#else
|
||||
return getMSTime();
|
||||
#endif
|
||||
}
|
||||
|
||||
uint32 ElunaUtil::GetTimeDiff(uint32 oldMSTime)
|
||||
{
|
||||
#if !defined TRINITY && !AZEROTHCORE
|
||||
return WorldTimer::getMSTimeDiff(oldMSTime, GetCurrTime());
|
||||
#else
|
||||
return GetMSTimeDiffToNow(oldMSTime);
|
||||
#endif
|
||||
}
|
||||
|
||||
ElunaUtil::ObjectGUIDCheck::ObjectGUIDCheck(ObjectGuid guid) : _guid(guid)
|
||||
|
||||
Reference in New Issue
Block a user