Core/World: Fixed a warning

This commit is contained in:
Shauren
2013-02-02 16:46:14 +01:00
parent b47cb65b03
commit f410bf9755

View File

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