diff options
author | yexo <yexo@openttd.org> | 2009-09-08 22:39:19 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-09-08 22:39:19 +0000 |
commit | 37d702b2cecddfff115a05777c13f0de1b4ced49 (patch) | |
tree | 3aa05a7fe0a7f62a86d7cc81ab83b8a08f52a553 | |
parent | 99af06dd30032f688ec2a81fc47ab5b8e356f1bd (diff) | |
download | openttd-37d702b2cecddfff115a05777c13f0de1b4ced49.tar.xz |
(svn r17480) -Fix (r17405): fast aircraft could get stuck flyin gin circles trying to reach a certain point
-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 07e29315f..cb38121d2 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -1073,7 +1073,7 @@ static bool AircraftController(Aircraft *v) if (newdir != v->direction) { if (amd->flag & AMED_SLOWTURN) { if (v->load_unload_time_rem == 0 || newdir == v->last_direction) { - v->load_unload_time_rem = 8; + v->load_unload_time_rem = 1 << (_settings_game.vehicle.plane_speed - 1); v->last_direction = v->direction; v->direction = newdir; } |