Remove special case for Mangos in preparation of internal timer rewrite

This commit is contained in:
Foereaper
2021-03-02 21:47:38 +01:00
committed by GitHub
parent 5e6226e096
commit ba7eea4e40

View File

@@ -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)