diff options
author | rubidium <rubidium@openttd.org> | 2007-11-17 15:04:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-17 15:04:38 +0000 |
commit | 2e8d37dcdf08afc074cbff9b610ddf9954af088e (patch) | |
tree | 5b962403fe6f514df4d3cd222dd22514d040e736 /src | |
parent | f22ed6f85e55d75c3cd91cd7a8dc0fe5a5d934f5 (diff) | |
download | openttd-2e8d37dcdf08afc074cbff9b610ddf9954af088e.tar.xz |
(svn r11451) -Fix [FS#1287]: very fast aircraft would sometimes abruptly stop at the begin of the landing runway, turn a few times and then drive slowly to the end of the runway.
Diffstat (limited to 'src')
-rw-r--r-- | src/aircraft_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index cfcd00374..d04a632d4 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -1154,7 +1154,7 @@ static bool AircraftController(Vehicle *v) GetNewVehiclePosResult gp; - if (dist < 4) { + if (dist < 4 || amd->flag & AMED_LAND) { /* move vehicle one pixel towards target */ gp.x = (v->x_pos != (x + amd->x)) ? v->x_pos + ((x + amd->x > v->x_pos) ? 1 : -1) : |