mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +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