Remove an unnecessary variable assignment
The info is already set with the same name in the constructor
This commit is contained in:
@@ -100,8 +100,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
var aircraft = new List<Actor>();
|
var aircraft = new List<Actor>();
|
||||||
var units = new List<Actor>();
|
var units = new List<Actor>();
|
||||||
|
|
||||||
var info = Info as ParatroopersPowerInfo;
|
|
||||||
|
|
||||||
if (!facing.HasValue)
|
if (!facing.HasValue)
|
||||||
facing = new WAngle(1024 * self.World.SharedRandom.Next(info.QuantizedFacings) / info.QuantizedFacings);
|
facing = new WAngle(1024 * self.World.SharedRandom.Next(info.QuantizedFacings) / info.QuantizedFacings);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user