mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Fix subObject identification
This commit is contained in:
@@ -143,7 +143,7 @@ const std::string & CGObjectInstance::getStringId() const
|
||||
if(stringId == "")
|
||||
{
|
||||
boost::format fmt("%s_%d");
|
||||
fmt % "object" % id.getNum();
|
||||
fmt % typeName % id.getNum();
|
||||
stringId = fmt.str();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user