(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
This commit is contained in:
@@ -787,10 +787,10 @@ static void AgeShipCargo(Vehicle *v)
|
||||
v->cargo.AgeCargo();
|
||||
}
|
||||
|
||||
void Ship_Tick(Vehicle *v)
|
||||
void Ship::Tick()
|
||||
{
|
||||
AgeShipCargo(v);
|
||||
ShipController(v);
|
||||
AgeShipCargo(this);
|
||||
ShipController(this);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user