aboutsummaryrefslogtreecommitdiff
path: root/src/game/QueryHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/QueryHandler.cpp')
-rw-r--r--src/game/QueryHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/QueryHandler.cpp b/src/game/QueryHandler.cpp
index 91037488927..1067ad49bc4 100644
--- a/src/game/QueryHandler.cpp
+++ b/src/game/QueryHandler.cpp
@@ -287,11 +287,11 @@ void WorldSession::HandleCorpseQueryOpcode(WorldPacket & /*recv_data*/)
return;
}
- int32 mapid = corpse->GetMapId();
+ uint32 mapid = corpse->GetMapId();
float x = corpse->GetPositionX();
float y = corpse->GetPositionY();
float z = corpse->GetPositionZ();
- int32 corpsemapid = mapid;
+ uint32 corpsemapid = mapid;
// if corpse at different map
if (mapid != _player->GetMapId())