From 811e79ba4c8f53f6db73eaabecbd221488762cb8 Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 11 Aug 2006 03:07:46 +0000 Subject: [PATCH] (svn r5839) Fix : A ship in a depot must be stopped before allowed to be cloned. As this is standard behaviour for all other vehicle types... --- ship_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ship_gui.c b/ship_gui.c index 69b53fd384..a3b4ac3d37 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -559,7 +559,7 @@ static void ShipViewWndProc(Window *w, WindowEvent *e) case WE_MOUSELOOP: { const Vehicle *v = GetVehicle(w->window_number); - uint32 h = IsShipInDepot(v) ? 1 << 7 : 1 << 11; + uint32 h = IsShipInDepotStopped(v) ? 1 << 7 : 1 << 11; if (h != w->hidden_state) { w->hidden_state = h;