Core/Entities: Extended SpawnMask to 64 bit

This commit is contained in:
hondacrx
2018-01-06 23:43:44 -05:00
parent ff338c6532
commit befc9fcae7
16 changed files with 95 additions and 75 deletions
@@ -487,7 +487,7 @@ namespace Game.Chat
}
// fill the gameobject data and save to the db
obj.SaveToDB(map.GetId(), (byte)(1 << (int)map.GetSpawnMode()), player.GetPhaseMask());
obj.SaveToDB(map.GetId(), 1ul << (int)map.GetSpawnMode());
ulong spawnId = obj.GetSpawnId();
// this will generate a new guid if the object is in an instance