1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Removed typeName and subtypeName properties from CGObjectInstance

This commit is contained in:
Ivan Savenko
2024-10-13 13:05:50 +00:00
parent 4bdc503186
commit 31095248ab
12 changed files with 29 additions and 37 deletions

View File

@@ -608,7 +608,7 @@ void CMap::setUniqueInstanceName(CGObjectInstance * obj)
auto uid = uidCounter++;
boost::format fmt("%s_%d");
fmt % obj->typeName % uid;
fmt % obj->getTypeName() % uid;
obj->instanceName = fmt.str();
}