summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ship_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c
index 69b53fd38..a3b4ac3d3 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;