From 9d8aab98e6373ecc3cbce9ec93603736f0147da7 Mon Sep 17 00:00:00 2001 From: Olynn Date: Thu, 29 Apr 2010 11:44:56 +0400 Subject: [PATCH] [9801] Typo in enum name. Signed-off-by: VladimirMangos --- src/game/CharacterHandler.cpp | 2 +- src/game/Player.cpp | 2 +- src/game/Player.h | 2 +- src/shared/revision_nr.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/CharacterHandler.cpp b/src/game/CharacterHandler.cpp index f810636f9..90f417801 100644 --- a/src/game/CharacterHandler.cpp +++ b/src/game/CharacterHandler.cpp @@ -79,7 +79,7 @@ bool LoginQueryHolder::Initialize() res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADSPELLS, "SELECT spell,active,disabled FROM character_spell WHERE guid = '%u'", GUID_LOPART(m_guid)); res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADQUESTSTATUS, "SELECT quest,status,rewarded,explored,timer,mobcount1,mobcount2,mobcount3,mobcount4,itemcount1,itemcount2,itemcount3,itemcount4 FROM character_queststatus WHERE guid = '%u'", GUID_LOPART(m_guid)); res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADDAILYQUESTSTATUS,"SELECT quest FROM character_queststatus_daily WHERE guid = '%u'", GUID_LOPART(m_guid)); - res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADWEKLYQUESTSTATUS,"SELECT quest FROM character_queststatus_weekly WHERE guid = '%u'", GUID_LOPART(m_guid)); + res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADWEEKLYQUESTSTATUS,"SELECT quest FROM character_queststatus_weekly WHERE guid = '%u'", GUID_LOPART(m_guid)); res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADREPUTATION, "SELECT faction,standing,flags FROM character_reputation WHERE guid = '%u'", GUID_LOPART(m_guid)); res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADINVENTORY, "SELECT data,text,bag,slot,item,item_template FROM character_inventory JOIN item_instance ON character_inventory.item = item_instance.guid WHERE character_inventory.guid = '%u' ORDER BY bag,slot", GUID_LOPART(m_guid)); res &= SetPQuery(PLAYER_LOGIN_QUERY_LOADACTIONS, "SELECT spec,button,action,type FROM character_action WHERE guid = '%u' ORDER BY button", GUID_LOPART(m_guid)); diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 8a9f49299..7869f37ce 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -15275,7 +15275,7 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder ) // after spell load, learn rewarded spell if need also _LoadQuestStatus(holder->GetResult(PLAYER_LOGIN_QUERY_LOADQUESTSTATUS)); _LoadDailyQuestStatus(holder->GetResult(PLAYER_LOGIN_QUERY_LOADDAILYQUESTSTATUS)); - _LoadWeeklyQuestStatus(holder->GetResult(PLAYER_LOGIN_QUERY_LOADWEKLYQUESTSTATUS)); + _LoadWeeklyQuestStatus(holder->GetResult(PLAYER_LOGIN_QUERY_LOADWEEKLYQUESTSTATUS)); _LoadTalents(holder->GetResult(PLAYER_LOGIN_QUERY_LOADTALENTS)); diff --git a/src/game/Player.h b/src/game/Player.h index c5aeb77cc..79188dbf7 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -910,7 +910,7 @@ enum PlayerLoginQueryIndex PLAYER_LOGIN_QUERY_LOADMAILS, PLAYER_LOGIN_QUERY_LOADMAILEDITEMS, PLAYER_LOGIN_QUERY_LOADTALENTS, - PLAYER_LOGIN_QUERY_LOADWEKLYQUESTSTATUS, + PLAYER_LOGIN_QUERY_LOADWEEKLYQUESTSTATUS, MAX_PLAYER_LOGIN_QUERY }; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cf0082b7f..86ab0abfd 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9800" + #define REVISION_NR "9801" #endif // __REVISION_NR_H__