(svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo)

This commit is contained in:
rubidium
2010-08-28 14:14:37 +00:00
parent 702cc96943
commit 2fb18e975c
6 changed files with 17 additions and 34 deletions

View File

@@ -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;