mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
fix CGObjectInstance subTypeName
to include mod id
This commit is contained in:
parent
cd12b0e514
commit
ddfc212a03
@ -129,7 +129,7 @@ void AObjectTypeHandler::preInitObject(CGObjectInstance * obj) const
|
|||||||
obj->ID = Obj(type);
|
obj->ID = Obj(type);
|
||||||
obj->subID = subtype;
|
obj->subID = subtype;
|
||||||
obj->typeName = typeName;
|
obj->typeName = typeName;
|
||||||
obj->subTypeName = subTypeName;
|
obj->subTypeName = getJsonKey();
|
||||||
obj->blockVisit = blockVisit;
|
obj->blockVisit = blockVisit;
|
||||||
obj->removable = removable;
|
obj->removable = removable;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user