summaryrefslogtreecommitdiff
path: root/src/aircraft.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aircraft.h')
-rw-r--r--src/aircraft.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aircraft.h b/src/aircraft.h
index 1af9942ad..0a32703e2 100644
--- a/src/aircraft.h
+++ b/src/aircraft.h
@@ -129,6 +129,7 @@ struct Aircraft : public Vehicle {
bool IsPrimaryVehicle() const { return IsNormalAircraft(this); }
int GetImage(Direction direction) const;
int GetDisplaySpeed() const { return this->cur_speed * 10 / 16; }
+ int GetDisplayMaxSpeed() const { return this->max_speed * 10 / 16; }
void Tick();
};