aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-02-02 16:46:14 +0100
committerShauren <shauren.trinity@gmail.com>2013-02-02 16:46:14 +0100
commitf410bf97555419a707137b3b35d44596fc9d8b49 (patch)
tree6e1f8d129d38c5103bbe37b269a0534ee38887b0
parentb47cb65b03adc28513b3b888b0ed65599101b654 (diff)
Core/World: Fixed a warning
-rw-r--r--src/server/game/World/World.cpp3
1 files changed, 0 insertions, 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;