mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Fix compile.
--HG-- branch : trunk
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user