mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +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
|
|
@ -1139,7 +1139,7 @@ void Creature::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
|
|||
<< data.id << ","
|
||||
<< data.mapid << ","
|
||||
<< uint32(data.spawnMask) << "," // cast to prevent save as symbol
|
||||
<< uint16(data.phaseMask) << "," // prevent out of range error
|
||||
<< uint32(data.phaseMask) << "," // prevent out of range error
|
||||
<< data.modelid_override << ","
|
||||
<< data.equipmentId << ","
|
||||
<< data.posX << ","
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue