mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[12631] Use uint32 for phaseMasks in core and database
This commit is contained in:
parent
1fa3b614ed
commit
1cd806c02e
10 changed files with 15 additions and 18 deletions
|
|
@ -567,7 +567,7 @@ void GameObject::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
|
|||
<< GetEntry() << ", "
|
||||
<< mapid << ", "
|
||||
<< uint32(spawnMask) << "," // cast to prevent save as symbol
|
||||
<< uint16(GetPhaseMask()) << "," // prevent out of range error
|
||||
<< uint32(GetPhaseMask()) << "," // prevent out of range error
|
||||
<< GetPositionX() << ", "
|
||||
<< GetPositionY() << ", "
|
||||
<< GetPositionZ() << ", "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue