From 609e6dae3fbdace3c753456268eec6dbd0df2db2 Mon Sep 17 00:00:00 2001 From: terkhen Date: Sat, 6 Nov 2010 12:45:40 +0000 Subject: (svn r21094) -Fix: Aircraft speed would ignore callback 36 result when it is greater than the engine speed. --- src/aircraft_cmd.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 217d297ee..7f389c6e3 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -574,8 +574,6 @@ static int UpdateAircraftSpeed(Aircraft *v, uint speed_limit = SPEED_LIMIT_NONE, speed_limit = v->acache.cached_max_speed; } - speed_limit = min(speed_limit, v->max_speed); - v->subspeed = (t = v->subspeed) + (byte)spd; /* Aircraft's current speed is used twice so that very fast planes are -- cgit v1.2.3-70-g09d2