This commit is contained in:
2026-02-26 15:45:27 +03:00
parent 2539ceee03
commit 06c2b1511a
5 changed files with 27 additions and 49 deletions

View File

@@ -149,7 +149,7 @@ void Game::LoadLevelXML(const char* mapname)
buffer, result.description(), result.offset);
}
for (pugi::xml_node entity : doc.child("Entities").children("Entity")) {
for (pugi::xml_node entity : doc.child("Level").child("Entities").children("Entity")) {
pugi::xml_attribute entityname = entity.attribute("name");
pugi::xml_attribute classname = entity.attribute("classname");