Remove Util.GetFacing.

This commit is contained in:
Paul Chote
2016-01-15 19:12:01 +00:00
parent a0979634bb
commit 3b18c7815d
15 changed files with 30 additions and 32 deletions

View File

@@ -43,8 +43,7 @@ namespace OpenRA.Mods.Common.Activities
return NextActivity;
}
var desiredFacing = Util.GetFacing(d, plane.Facing);
Fly.FlyToward(self, plane, desiredFacing, WDist.Zero);
Fly.FlyToward(self, plane, d.Yaw.Facing, WDist.Zero);
return this;
}