summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index 5b562db17..e6fe20e17 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -523,6 +523,12 @@ public:
this->service_interval = src->service_interval;
}
+ /**
+ * Handle all of the aspects of a vehicle breakdown.
+ * This includes adding smoke and sounds, and ending the breakdown when appropriate.
+ */
+ void HandleBreakdown();
+
bool NeedsAutorenewing(const Company *c) const;
/**