diff options
author | Spp <none@none> | 2010-04-15 12:32:40 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-15 12:32:40 +0200 |
commit | 0032bb5886af087752163addef7f53bcc130d133 (patch) | |
tree | 45e9b7457ef117d27d26a5dedc1867967f5f611b /src | |
parent | 08785d63abe7b1d3967c60ddf93f3f8193317118 (diff) |
Fix compile.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index 76aa6a94b4b..2e7331e1e67 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -2498,8 +2498,8 @@ void World::_UpdateRealmCharCount(QueryResult_AutoPtr resultCharCount, uint32 ac void World::InitWeeklyQuestResetTime() { - time_t time = uint64(sWorld.getWorldState(WS_WEEKLY_QUEST_RESET_TIME)); - if (!time) + time_t wtime = uint64(sWorld.getWorldState(WS_WEEKLY_QUEST_RESET_TIME)); + if (!wtime) { m_NextWeeklyQuestReset = time_t(m_gameTime + WEEK); sWorld.setWorldState(WS_WEEKLY_QUEST_RESET_TIME, uint64(m_NextWeeklyQuestReset)); |