From f410bf97555419a707137b3b35d44596fc9d8b49 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 2 Feb 2013 16:46:14 +0100 Subject: [PATCH] Core/World: Fixed a warning --- src/server/game/World/World.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp index b656783cf99..f28b9548e5f 100644 --- a/src/server/game/World/World.cpp +++ b/src/server/game/World/World.cpp @@ -2884,9 +2884,6 @@ void World::ResetMonthlyQuests() time_t nextMonthResetTime = mktime(&localTm); - // last reset time before current moment - time_t resetTime = (curTime < nextMonthResetTime) ? nextMonthResetTime - MONTH : nextMonthResetTime; - // plan next reset time m_NextMonthlyQuestReset = (curTime >= nextMonthResetTime) ? nextMonthResetTime + MONTH : nextMonthResetTime;