Fix compile.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -2498,8 +2498,8 @@ void World::_UpdateRealmCharCount(QueryResult_AutoPtr resultCharCount, uint32 ac
|
|||||||
|
|
||||||
void World::InitWeeklyQuestResetTime()
|
void World::InitWeeklyQuestResetTime()
|
||||||
{
|
{
|
||||||
time_t time = uint64(sWorld.getWorldState(WS_WEEKLY_QUEST_RESET_TIME));
|
time_t wtime = uint64(sWorld.getWorldState(WS_WEEKLY_QUEST_RESET_TIME));
|
||||||
if (!time)
|
if (!wtime)
|
||||||
{
|
{
|
||||||
m_NextWeeklyQuestReset = time_t(m_gameTime + WEEK);
|
m_NextWeeklyQuestReset = time_t(m_gameTime + WEEK);
|
||||||
sWorld.setWorldState(WS_WEEKLY_QUEST_RESET_TIME, uint64(m_NextWeeklyQuestReset));
|
sWorld.setWorldState(WS_WEEKLY_QUEST_RESET_TIME, uint64(m_NextWeeklyQuestReset));
|
||||||
|
|||||||
Reference in New Issue
Block a user