diff options
author | megamage <none@none.none> | 2011-10-10 18:03:19 -0400 |
---|---|---|
committer | megamage <none@none.none> | 2011-10-10 18:03:19 -0400 |
commit | 8ce5177f74404ef3a4b55f879da35a2f4afb66bb (patch) | |
tree | bbbe80fd520f924968b8569aefa8de98d73bf91d /src | |
parent | 3569121d80d92a08ff64e6af0a79be95a8188634 (diff) |
Pass low guid instead of guid to DeleteCharaceterNameData.
Thanks to Studioworks for pointing out.
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Server/Protocol/Handlers/CharacterHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/CharacterHandler.cpp b/src/server/game/Server/Protocol/Handlers/CharacterHandler.cpp index 5178dbed101..a468d05bcdf 100755 --- a/src/server/game/Server/Protocol/Handlers/CharacterHandler.cpp +++ b/src/server/game/Server/Protocol/Handlers/CharacterHandler.cpp @@ -742,7 +742,7 @@ void WorldSession::HandleCharDeleteOpcode(WorldPacket & recv_data) sLog->outDetail("Account: %d (IP: %s) Delete Character:[%s] (GUID: %u)", GetAccountId(), IP_str.c_str(), name.c_str(), GUID_LOPART(guid)); sLog->outChar("Account: %d (IP: %s) Delete Character:[%s] (GUID: %u)", GetAccountId(), IP_str.c_str(), name.c_str(), GUID_LOPART(guid)); sScriptMgr->OnPlayerDelete(guid); - sWorld->DeleteCharaceterNameData(guid); + sWorld->DeleteCharaceterNameData(GUID_LOPART(guid)); if (sLog->IsOutCharDump()) // optimize GetPlayerDump call { |