Lint test and SpawnActorPower effect sprite and palette.

This commit is contained in:
Matthias Mailänder
2016-04-02 15:12:08 +02:00
parent aa4ffe5bd4
commit 9458a74e9c
3 changed files with 12 additions and 4 deletions

View File

@@ -750,6 +750,13 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20160402)
{
// Fix misleading property naming.
if (node.Key == "EffectSequence" && parent.Key == "SpawnActorPower")
node.Key = "EffectImage";
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}