silence warnings in allies03/04

This commit is contained in:
Chris Forbes
2013-01-08 22:54:38 +13:00
parent 975e4db452
commit 3a77082c66
2 changed files with 2 additions and 4 deletions

View File

@@ -355,10 +355,10 @@ namespace OpenRA.Mods.RA.Missions
void SpawnAlliedUnit(string actor)
{
var unit = SpawnAndMove(actor, allies1, allies1EntryPoint.Location, allies1MovePoint.Location);
SpawnAndMove(actor, allies1, allies1EntryPoint.Location, allies1MovePoint.Location);
if (allies2 != allies1)
{
unit = SpawnAndMove(actor, allies2, allies2EntryPoint.Location, allies2MovePoint.Location);
SpawnAndMove(actor, allies2, allies2EntryPoint.Location, allies2MovePoint.Location);
}
}

View File

@@ -62,7 +62,6 @@ namespace OpenRA.Mods.RA.Missions
CountdownTimer destroyBaseTimer;
CountdownTimerWidget destroyBaseTimerWidget;
Player allies;
Player allies1;
Player allies2;
Player soviets;
@@ -372,7 +371,6 @@ namespace OpenRA.Mods.RA.Missions
{
allies2 = allies1;
}
allies = w.Players.Single(p => p.InternalName == "Allies");
soviets = w.Players.Single(p => p.InternalName == "Soviets");
neutral = w.Players.Single(p => p.InternalName == "Neutral");