make the parachute animation optional

instead of hard-coding default sprite sequences
This commit is contained in:
Matthias Mailänder
2014-06-22 15:34:52 +02:00
parent ff1be8daea
commit ef01fb289b
6 changed files with 22 additions and 8 deletions

View File

@@ -263,6 +263,9 @@ namespace OpenRA.Utility
if (subnode.Key == "Offset")
subnode.Key = "ParachuteOffset";
}
if (depth == 2 && node.Key == "ParachuteSprite")
node.Key = "ParachuteSequence";
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);