1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Move test filesystem creation to global fixture

This commit is contained in:
AlexVinS
2015-11-16 14:43:44 +03:00
parent 126a821960
commit 6977fc3a14
3 changed files with 10 additions and 7 deletions

View File

@@ -365,6 +365,7 @@ void CGObjectInstance::writeJsonOptions(JsonNode & json) const
{
json.setType(JsonNode::DATA_STRUCT);
//todo: move up to descendants
if(tempOwner != PlayerColor::UNFLAGGABLE)
{
PlayerColor p (tempOwner);