Overhaul LazerZap and AreaBeam rendering.

This commit is contained in:
Paul Chote
2015-11-29 11:49:01 +00:00
parent 78556ec60c
commit 92d0261005
7 changed files with 53 additions and 21 deletions

View File

@@ -3178,6 +3178,15 @@ namespace OpenRA.Mods.Common.UtilityCommands
TryUpdateColor(ref node.Value.Value);
}
if (engineVersion < 20151129)
{
if (node.Key == "BeamWidth" && parent.Value.Value == "LaserZap")
{
node.Key = "Width";
ConvertPxToRange(ref node.Value.Value);
}
}
UpgradeWeaponRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}