helis don't fail to attack on diagonal approach
This commit is contained in:
committed by
Chris Forbes
parent
bca2797bb4
commit
3fe4d32674
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.RA.Air
|
||||
}
|
||||
|
||||
var attack = self.Trait<AttackHeli>();
|
||||
var range = attack.GetMaximumRange() - 1;
|
||||
var range = attack.GetMaximumRange() * 0.625f;
|
||||
var dist = target.CenterLocation - self.CenterLocation;
|
||||
|
||||
var desiredFacing = Util.GetFacing(dist, aircraft.Facing);
|
||||
|
||||
Reference in New Issue
Block a user