Core/Maps: Replaced spawnmask with difficulty list
This commit is contained in:
@@ -156,7 +156,7 @@ public:
|
||||
}
|
||||
|
||||
// fill the gameobject data and save to the db
|
||||
object->SaveToDB(map->GetId(), UI64LIT(1) << map->GetSpawnMode());
|
||||
object->SaveToDB(map->GetId(), { map->GetDifficultyID() });
|
||||
ObjectGuid::LowType spawnId = object->GetSpawnId();
|
||||
|
||||
// delete the old object and do a clean load from DB with a fresh new GameObject instance.
|
||||
|
||||
Reference in New Issue
Block a user