From 0b9a8ccef5c4ae8971f097f464e4fbb31a38f279 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 19 Jul 2013 04:03:40 +0100 Subject: Core/Misc: Change creatures and gameobject phasemask from 16 to 32 bits Signed-off-by: Nay --- src/server/scripts/Commands/cs_gobject.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/scripts/Commands') diff --git a/src/server/scripts/Commands/cs_gobject.cpp b/src/server/scripts/Commands/cs_gobject.cpp index 18dee2ea324..8ae2e7b4dfb 100644 --- a/src/server/scripts/Commands/cs_gobject.cpp +++ b/src/server/scripts/Commands/cs_gobject.cpp @@ -279,8 +279,8 @@ public: bool found = false; float x, y, z, o; - uint32 guidLow, id; - uint16 mapId, phase; + uint32 guidLow, id, phase; + uint16 mapId; uint32 poolId; do @@ -293,7 +293,7 @@ public: z = fields[4].GetFloat(); o = fields[5].GetFloat(); mapId = fields[6].GetUInt16(); - phase = fields[7].GetUInt16(); + phase = fields[7].GetUInt32(); poolId = sPoolMgr->IsPartOfAPool(guidLow); if (!poolId || sPoolMgr->IsSpawnedObject(guidLow)) found = true; -- cgit v1.2.3