summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp14
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