(svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.
This commit is contained in:
@@ -316,6 +316,13 @@ struct Vehicle {
|
||||
void BeginLoading();
|
||||
void LeaveStation();
|
||||
|
||||
/**
|
||||
* Handle the loading of the vehicle; when not it skips through dummy
|
||||
* orders and does nothing in all other cases.
|
||||
* @param mode is the non-first call for this vehicle in this tick?
|
||||
*/
|
||||
void HandleLoading(bool mode = false);
|
||||
|
||||
/**
|
||||
* An overriden version of new, so you can use the vehicle instance
|
||||
* instead of a newly allocated piece of memory.
|
||||
|
||||
Reference in New Issue
Block a user