Mercurial > hg > openttd
changeset 12986:ac5dc29676bc draft
(svn r17480) -Fix (r17405): fast aircraft could get stuck flyin gin circles trying to reach a certain point
author | yexo <yexo@openttd.org> |
---|---|
date | Tue, 08 Sep 2009 22:39:19 +0000 |
parents | 1ace9b729b65 |
children | 9edddc9980f5 |
files | src/aircraft_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -1073,7 +1073,7 @@ 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; }