diff options
author | Subv <s.v.h21@hotmail.com> | 2012-10-10 09:25:25 -0500 |
---|---|---|
committer | Subv <s.v.h21@hotmail.com> | 2012-10-10 09:25:25 -0500 |
commit | ecc2362c69e24b2afc762bc32d11453d537a84fb (patch) | |
tree | ce0deb13e027b75ecbe23c1e844d643b96b48cb2 /src | |
parent | af005641847690ec76bb8eb704aec22435030093 (diff) |
Scripts/Commands: Fixed the command to restore a deleted character.
Thanks @vlad852
Diffstat (limited to 'src')
-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 080b2416c9a..1f32368adfd 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) |