Changeset - r7900:da9229027d92
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-11-17 15:04:38
rubidium@openttd.org
(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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/aircraft_cmd.cpp
Show inline comments
 
@@ -1154,7 +1154,7 @@ static bool AircraftController(Vehicle *
 

	
 
		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) :
0 comments (0 inline, 0 general)