From 525409b0fc2bf3668d2dc0228fc8d2e14a5e7a48 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 1 Feb 2008 22:02:14 +0000 Subject: (svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class --- src/ship.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ship.h') diff --git a/src/ship.h b/src/ship.h index 923cfe6d3..2d96cbe1d 100644 --- a/src/ship.h +++ b/src/ship.h @@ -41,6 +41,7 @@ struct Ship: public Vehicle { Money GetRunningCost() const { return ShipVehInfo(this->engine_type)->running_cost * _price.ship_running; } bool IsInDepot() const { return this->u.ship.state == 0x80; } void Tick(); + void OnNewDay(); }; #endif /* SHIP_H */ -- cgit v1.2.3-54-g00ecf