fixed build

This commit is contained in:
Ovahlord committed 2021-01-03 09:44:27 +01:00
1 parent 4aa098a50e
commit 360b1149dc
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -3127,11 +3127,11 @@ bool Map::CheckRespawn(RespawnInfo* info)
}
case SPAWN_TYPE_GAMEOBJECT:
// gameobject check is simpler - they cannot be dead or escorting
if (_gameobjectBySpawnIdStore.find(info->spawnId) != _gameobjectBySpawnIdStore.end())
if (_gameObjectBySpawnIdStore.find(info->spawnId) != _gameObjectBySpawnIdStore.end())
alreadyExists = true;
break;
default:
ABORT_MSG("Invalid spawn type %u with spawnId %u on map %u", uint32(info->type), info->spawnId, GetId());
ASSERT(false, "Invalid spawn type %u with spawnId %u on map %u", uint32(info->type), info->spawnId, GetId());
return true;
}
if (alreadyExists)