(svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo)
This commit is contained in:
@@ -523,11 +523,14 @@ public:
|
||||
this->service_interval = src->service_interval;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Handle all of the aspects of a vehicle breakdown.
|
||||
* Handle all of the aspects of a vehicle breakdown
|
||||
* This includes adding smoke and sounds, and ending the breakdown when appropriate.
|
||||
* @return true iff the vehicle is stopped because of a breakdown
|
||||
* @note This function always returns false for aircraft, since these never stop for breakdowns
|
||||
*/
|
||||
void HandleBreakdown();
|
||||
bool HandleBreakdown();
|
||||
|
||||
bool NeedsAutorenewing(const Company *c) const;
|
||||
|
||||
|
Reference in New Issue
Block a user