diff options
author | Subv <s.v.h21@hotmail.com> | 2012-10-10 10:14:26 -0500 |
---|---|---|
committer | Subv <s.v.h21@hotmail.com> | 2012-10-10 10:14:26 -0500 |
commit | 1f699f2cd300895a5889d24d7513b09b544638ff (patch) | |
tree | 5dc94da0090b162e06325b5bc8e0703ec59be773 | |
parent | 595d194d99a2c08861c746e18f5263ef90ef0b5b (diff) |
Core/Scripts: Fixed the command to restore deleted characters.
-rw-r--r-- | src/server/scripts/Commands/cs_character.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_character.cpp b/src/server/scripts/Commands/cs_character.cpp index 9f910cbaf75..d6c4ef54d15 100644 --- a/src/server/scripts/Commands/cs_character.cpp +++ b/src/server/scripts/Commands/cs_character.cpp @@ -224,7 +224,7 @@ public: stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_CHARACTER_NAME_DATA); stmt->setUInt32(0, delInfo.lowGuid); if (PreparedQueryResult result = CharacterDatabase.Query(stmt)) - sWorld->AddCharacterNameData(delInfo.lowGuid, delInfo.name, (*result)[2].GetUInt8(), (*result)[0].GetUInt8(), (*result)[1].GetUInt8(), (*result)[2].GetUInt8()); + sWorld->AddCharacterNameData(delInfo.lowGuid, delInfo.name, (*result)[2].GetUInt8(), (*result)[0].GetUInt8(), (*result)[1].GetUInt8(), (*result)[3].GetUInt8()); } static void HandleCharacterLevel(Player* player, uint64 playerGuid, uint32 oldLevel, uint32 newLevel, ChatHandler* handler) |