diff options
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 419d96ff4..58a46e4ad 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -533,6 +533,11 @@ static void PlayAircraftSound(const Vehicle *v) } +/** + * Update cached values of an aircraft. + * Currently caches callback 36 max speed. + * @param v Vehicle + */ void UpdateAircraftCache(Aircraft *v) { uint max_speed = GetVehicleProperty(v, PROP_AIRCRAFT_SPEED, 0); |