summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-19 21:49:35 +0000
committertron <tron@openttd.org>2005-07-19 21:49:35 +0000
commit7269771544af65ddb0c69d338253bd0a5940caac (patch)
tree02f05ccb111e772991e342a10812e26ae8d1a118 /aircraft_cmd.c
parentcea98113b7f2786ee1847c06d36198abfbfb6bb6 (diff)
downloadopenttd-7269771544af65ddb0c69d338253bd0a5940caac.tar.xz
(svn r2643) Get rid of some unnecessary casts
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 1 insertions, 1 deletions
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?