summaryrefslogtreecommitdiff
path: root/src/ship_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_gui.cpp')
-rw-r--r--src/ship_gui.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ship_gui.cpp b/src/ship_gui.cpp
index ec426a749..34d88f2e9 100644
--- a/src/ship_gui.cpp
+++ b/src/ship_gui.cpp
@@ -46,19 +46,6 @@ void DrawShipImage(const Vehicle *v, int left, int right, int y, VehicleID selec
}
}
-void CcBuildShip(bool success, TileIndex tile, uint32 p1, uint32 p2)
-{
- const Vehicle *v;
- if (!success) return;
-
- v = Vehicle::Get(_new_vehicle_id);
- if (v->tile == _backup_orders_tile) {
- _backup_orders_tile = 0;
- RestoreVehicleOrders(v);
- }
- ShowVehicleViewWindow(v);
-}
-
/**
* Draw the details for the given vehicle at the given position
*