silence warnings in allies03/04
This commit is contained in:
@@ -355,10 +355,10 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
|
|
||||||
void SpawnAlliedUnit(string actor)
|
void SpawnAlliedUnit(string actor)
|
||||||
{
|
{
|
||||||
var unit = SpawnAndMove(actor, allies1, allies1EntryPoint.Location, allies1MovePoint.Location);
|
SpawnAndMove(actor, allies1, allies1EntryPoint.Location, allies1MovePoint.Location);
|
||||||
if (allies2 != allies1)
|
if (allies2 != allies1)
|
||||||
{
|
{
|
||||||
unit = SpawnAndMove(actor, allies2, allies2EntryPoint.Location, allies2MovePoint.Location);
|
SpawnAndMove(actor, allies2, allies2EntryPoint.Location, allies2MovePoint.Location);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
CountdownTimer destroyBaseTimer;
|
CountdownTimer destroyBaseTimer;
|
||||||
CountdownTimerWidget destroyBaseTimerWidget;
|
CountdownTimerWidget destroyBaseTimerWidget;
|
||||||
|
|
||||||
Player allies;
|
|
||||||
Player allies1;
|
Player allies1;
|
||||||
Player allies2;
|
Player allies2;
|
||||||
Player soviets;
|
Player soviets;
|
||||||
@@ -372,7 +371,6 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
{
|
{
|
||||||
allies2 = allies1;
|
allies2 = allies1;
|
||||||
}
|
}
|
||||||
allies = w.Players.Single(p => p.InternalName == "Allies");
|
|
||||||
soviets = w.Players.Single(p => p.InternalName == "Soviets");
|
soviets = w.Players.Single(p => p.InternalName == "Soviets");
|
||||||
neutral = w.Players.Single(p => p.InternalName == "Neutral");
|
neutral = w.Players.Single(p => p.InternalName == "Neutral");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user