diff options
author | glx <glx@openttd.org> | 2008-02-01 22:02:14 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-02-01 22:02:14 +0000 |
commit | 7ce12e50da88b1e56f9abfd022f644fad164f03f (patch) | |
tree | 85232d22f5526c6d36a56090c71361bfa9b43bb6 /src/ship.h | |
parent | f725b795afb17bbc532bd39c45029dfddc19837f (diff) | |
download | openttd-7ce12e50da88b1e56f9abfd022f644fad164f03f.tar.xz |
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
Diffstat (limited to 'src/ship.h')
-rw-r--r-- | src/ship.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |