(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
This commit is contained in:
@@ -741,9 +741,9 @@ static DisasterVehicleTickProc * const _disastervehicle_tick_procs[] = {
|
||||
};
|
||||
|
||||
|
||||
void DisasterVehicle_Tick(Vehicle *v)
|
||||
void DisasterVehicle::Tick()
|
||||
{
|
||||
_disastervehicle_tick_procs[v->subtype](v);
|
||||
_disastervehicle_tick_procs[this->subtype](this);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user