diff options
author | smatz <smatz@openttd.org> | 2009-01-04 18:34:23 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-04 18:34:23 +0000 |
commit | 67bf6a0998eb7e0be39449ca5b2563ace66b3a30 (patch) | |
tree | 24e7c278186d5ebd3bd6bce940783e6debc48253 /src/ship_cmd.cpp | |
parent | f1cc20edc076a550615e1da3f1d453c47d6e55c2 (diff) | |
download | openttd-67bf6a0998eb7e0be39449ca5b2563ace66b3a30.tar.xz |
(svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 6edf7c7b2..ea7edb8e4 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -731,20 +731,6 @@ void Ship::Tick() ShipController(this); } - -void ShipsYearlyLoop() -{ - Vehicle *v; - - FOR_ALL_VEHICLES(v) { - if (v->type == VEH_SHIP) { - v->profit_last_year = v->profit_this_year; - v->profit_this_year = 0; - InvalidateWindow(WC_VEHICLE_DETAILS, v->index); - } - } -} - /** Build a ship. * @param tile tile of depot where ship is built * @param flags type of operation |