add falling_block entity

This commit is contained in:
MihailRis
2024-07-09 18:41:03 +03:00
parent 277155e3d1
commit f7d0ec438f
9 changed files with 115 additions and 8 deletions
+2
View File
@@ -344,6 +344,8 @@ void ContentLoader::loadEntity(EntityDef& def, const std::string& name, const fs
if (auto bodyType = BodyType_from(bodyTypeName)) {
def.bodyType = *bodyType;
}
root->str("rig-name", def.rigName);
}
void ContentLoader::loadEntity(EntityDef& def, const std::string& full, const std::string& name) {