mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Merge pull request #4163 from godric3/fix-serialization-of-subtype-to-include-mod-id
fix CGObjectInstance `subTypeName` to include mod id
This commit is contained in:
commit
85d170af70
@ -129,7 +129,7 @@ void AObjectTypeHandler::preInitObject(CGObjectInstance * obj) const
|
||||
obj->ID = Obj(type);
|
||||
obj->subID = subtype;
|
||||
obj->typeName = typeName;
|
||||
obj->subTypeName = subTypeName;
|
||||
obj->subTypeName = getJsonKey();
|
||||
obj->blockVisit = blockVisit;
|
||||
obj->removable = removable;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user