diff options
author | megamage <none@none> | 2009-04-27 18:42:35 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-27 18:42:35 -0500 |
commit | 09af28301e646bf75b63113129996724550d7dd6 (patch) | |
tree | a36f7bb0f369c13b71958f40e0247150417ba18e /src/game/PetitionsHandler.cpp | |
parent | 5ac67c27f71a7b53fbce92ffdab3adb62b6baf0c (diff) |
[7716] Fixed some typos and possible crashes. Author: AlexDereka
--HG--
branch : trunk
Diffstat (limited to 'src/game/PetitionsHandler.cpp')
-rw-r--r-- | src/game/PetitionsHandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/PetitionsHandler.cpp b/src/game/PetitionsHandler.cpp index 7d14e26c7d5..316de998a80 100644 --- a/src/game/PetitionsHandler.cpp +++ b/src/game/PetitionsHandler.cpp @@ -281,8 +281,8 @@ void WorldSession::HandlePetitionShowSignOpcode(WorldPacket & recv_data) for(uint8 i = 1; i <= signs; i++) { - Field *fields = result->Fetch(); - uint64 plguid = fields[0].GetUInt64(); + Field *fields2 = result->Fetch(); + uint64 plguid = fields2[0].GetUInt64(); data << plguid; // Player GUID data << (uint32)0; // there 0 ... @@ -692,8 +692,8 @@ void WorldSession::HandleOfferPetitionOpcode(WorldPacket & recv_data) for(uint8 i = 1; i <= signs; i++) { - Field *fields = result->Fetch(); - uint64 plguid = fields[0].GetUInt64(); + Field *fields2 = result->Fetch(); + plguid = fields2[0].GetUInt64(); data << plguid; // Player GUID data << (uint32)0; // there 0 ... |