(svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value.
This commit is contained in:
@@ -90,8 +90,8 @@ struct Aircraft : public SpecializedVehicle<Aircraft, VEH_AIRCRAFT> {
|
||||
bool IsPrimaryVehicle() const { return this->IsNormalAircraft(); }
|
||||
SpriteID GetImage(Direction direction) const;
|
||||
int GetDisplaySpeed() const { return this->cur_speed; }
|
||||
int GetDisplayMaxSpeed() const { return this->max_speed; }
|
||||
int GetSpeedOldUnits() const { return this->max_speed * 10 / 128; }
|
||||
int GetDisplayMaxSpeed() const { return this->acache.cached_max_speed; }
|
||||
int GetSpeedOldUnits() const { return this->acache.cached_max_speed * 10 / 128; }
|
||||
Money GetRunningCost() const;
|
||||
bool IsInDepot() const { return (this->vehstatus & VS_HIDDEN) != 0 && IsHangarTile(this->tile); }
|
||||
bool Tick();
|
||||
|
Reference in New Issue
Block a user