From ba7eea4e40ca5c4efd8eaacbf29c2e3546fa807b Mon Sep 17 00:00:00 2001 From: Foereaper Date: Tue, 2 Mar 2021 21:47:38 +0100 Subject: [PATCH] Remove special case for Mangos in preparation of internal timer rewrite --- ElunaUtility.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ElunaUtility.cpp b/ElunaUtility.cpp index 439ba0c..fb26b0d 100644 --- a/ElunaUtility.cpp +++ b/ElunaUtility.cpp @@ -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)