generalize into SpawnActorPower

closes #5724
This commit is contained in:
Matthias Mailänder
2014-07-05 11:22:30 +02:00
parent f60fefd5f5
commit 91a076728d
5 changed files with 81 additions and 66 deletions

View File

@@ -282,6 +282,13 @@ namespace OpenRA.Utility
node.Key = "ParachuteSequence";
}
// SonarPulsePower was implemented as a generic SpawnActorPower
if (engineVersion < 20140703)
{
if (depth == 1 && node.Key == "SonarPulsePower")
node.Key = "SpawnActorPower";
}
if (engineVersion < 20140707)
{
// SpyPlanePower was removed (use AirstrikePower instead)