[12631] Use uint32 for phaseMasks in core and database

This commit is contained in:
Dramacydal 2013-05-31 13:26:17 +01:00 committed by Antz
parent 1fa3b614ed
commit 1cd806c02e
10 changed files with 15 additions and 18 deletions

View file

@ -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 << ","