From 7269771544af65ddb0c69d338253bd0a5940caac Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 19 Jul 2005 21:49:35 +0000 Subject: (svn r2643) Get rid of some unnecessary casts --- aircraft_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aircraft_cmd.c') diff --git a/aircraft_cmd.c b/aircraft_cmd.c index d05f65d81..e67e21ad0 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -909,7 +909,7 @@ static bool AircraftController(Vehicle *v) dist = myabs(x + amd->x - v->x_pos) + myabs(y + amd->y - v->y_pos); // Need exact position? - if (!(amd->flag & AMED_EXACTPOS) && dist <= (uint)((amd->flag&AMED_SLOWTURN)?8:4)) + if (!(amd->flag & AMED_EXACTPOS) && dist <= (amd->flag & AMED_SLOWTURN ? 8 : 4)) return true; // At final pos? -- cgit v1.2.3-54-g00ecf