(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
This commit is contained in:
@@ -323,6 +323,13 @@ public:
|
||||
*/
|
||||
virtual void OnNewDay() {};
|
||||
|
||||
/**
|
||||
* Crash the (whole) vehicle chain.
|
||||
* @param flooded whether the cause of the crash is flooding or not.
|
||||
* @return the number of lost souls.
|
||||
*/
|
||||
virtual uint Crash(bool flooded = false);
|
||||
|
||||
/**
|
||||
* Update vehicle sprite- and position caches
|
||||
* @param moved Was the vehicle moved?
|
||||
|
Reference in New Issue
Block a user