diff options
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index ccf9a242b..8c132ac02 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -137,6 +137,7 @@ struct Aircraft : public Vehicle { WindowClass GetVehicleListWindowClass() const { return WC_AIRCRAFT_LIST; } bool IsPrimaryVehicle() const { return IsNormalAircraft(this); } int GetImage(Direction direction) const; + int GetDisplaySpeed() const { return this->cur_speed * 10 / 16; } void Tick(); }; |