Renormalize line endings and fix copyright headers again.
This commit is contained in:
@@ -132,16 +132,16 @@ namespace OpenRA.Mods.RA
|
||||
public string VoicePhraseForOrder(Actor self, Order order)
|
||||
{
|
||||
return order.OrderString == "Disguise" ? "Attack" : null;
|
||||
}
|
||||
|
||||
public Color RadarColorOverride(Actor self)
|
||||
{
|
||||
if (!Disguised || self.World.LocalPlayer == null ||
|
||||
self.Owner.Stances[self.World.LocalPlayer] == Stance.Ally)
|
||||
return self.Owner.ColorRamp.GetColor(0);
|
||||
|
||||
return disguisedAsPlayer.ColorRamp.GetColor(0);
|
||||
}
|
||||
}
|
||||
|
||||
public Color RadarColorOverride(Actor self)
|
||||
{
|
||||
if (!Disguised || self.World.LocalPlayer == null ||
|
||||
self.Owner.Stances[self.World.LocalPlayer] == Stance.Ally)
|
||||
return self.Owner.ColorRamp.GetColor(0);
|
||||
|
||||
return disguisedAsPlayer.ColorRamp.GetColor(0);
|
||||
}
|
||||
}
|
||||
|
||||
class IgnoresDisguiseInfo : TraitInfo<IgnoresDisguise> {}
|
||||
|
||||
Reference in New Issue
Block a user