aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Tools/PlayerDump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Tools/PlayerDump.cpp')
-rw-r--r--src/server/game/Tools/PlayerDump.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/game/Tools/PlayerDump.cpp b/src/server/game/Tools/PlayerDump.cpp
index d86e2989ef1..1c11121b94a 100644
--- a/src/server/game/Tools/PlayerDump.cpp
+++ b/src/server/game/Tools/PlayerDump.cpp
@@ -610,16 +610,16 @@ void PlayerDumpWriter::PopulateGuids(ObjectGuid::LowType guid)
switch (baseTable.StoredType)
{
case GUID_TYPE_ITEM:
- if (ObjectGuid::LowType guid = (*result)[0].GetUInt32())
- _items.insert(guid);
+ if (ObjectGuid::LowType itemLowGuid = (*result)[0].GetUInt32())
+ _items.insert(itemLowGuid);
break;
case GUID_TYPE_MAIL:
- if (ObjectGuid::LowType guid = (*result)[0].GetUInt32())
- _mails.insert(guid);
+ if (ObjectGuid::LowType mailLowGuid = (*result)[0].GetUInt32())
+ _mails.insert(mailLowGuid);
break;
case GUID_TYPE_PET:
- if (ObjectGuid::LowType guid = (*result)[0].GetUInt32())
- _pets.insert(guid);
+ if (ObjectGuid::LowType petLowGuid = (*result)[0].GetUInt32())
+ _pets.insert(petLowGuid);
break;
case GUID_TYPE_EQUIPMENT_SET:
if (uint64 eqSetId = (*result)[0].GetUInt64())