diff --git a/src/game/World/World.cpp b/src/game/World/World.cpp index 31f8c23914..04bf9c24dd 100644 --- a/src/game/World/World.cpp +++ b/src/game/World/World.cpp @@ -2359,7 +2359,7 @@ void World::LoadSpamRecords(bool reload) void World::ResetDailyQuests() { DETAIL_LOG("Daily quests reset for all characters."); - CharacterDatabase.Execute("TRUNCATE character_queststatus_daily"); + CharacterDatabase.Execute(_TRUNCATE_ " character_queststatus_daily"); for (SessionMap::const_iterator itr = m_sessions.begin(); itr != m_sessions.end(); ++itr) if (itr->second->GetPlayer()) itr->second->GetPlayer()->ResetDailyQuestStatus(); @@ -2373,7 +2373,7 @@ void World::ResetDailyQuests() void World::ResetWeeklyQuests() { DETAIL_LOG("Weekly quests reset for all characters."); - CharacterDatabase.Execute("TRUNCATE character_queststatus_weekly"); + CharacterDatabase.Execute(_TRUNCATE_ " character_queststatus_weekly"); for (SessionMap::const_iterator itr = m_sessions.begin(); itr != m_sessions.end(); ++itr) if (itr->second->GetPlayer()) itr->second->GetPlayer()->ResetWeeklyQuestStatus();