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:
1 parent
ebd9090d80
commit
0b9a8ccef5
11 files changed
+16
-13
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user