Core/Misc: Change creatures and gameobject phasemask from 16 to 32 bits

Signed-off-by: Nay <dnpd.dd@gmail.com>
This commit is contained in:
Vlad authored and Nay committed 2013-07-19 04:03:40 +01:00
1 parent ebd9090d80
commit 0b9a8ccef5
11 files changed
+16 -13

No files matched your search

+3 -3
View File
@@ -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<GameObject>(guidLow);
if (!poolId || sPoolMgr->IsSpawnedObject<GameObject>(guidLow))
found = true;