mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
(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