(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.

This commit is contained in:
rubidium
2007-07-01 19:24:54 +00:00
parent 83a880c882
commit 90f85c957a
11 changed files with 40 additions and 46 deletions

View File

@@ -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);
}