equal
deleted
inserted
replaced
557 break; |
557 break; |
558 |
558 |
559 case WE_MOUSELOOP: |
559 case WE_MOUSELOOP: |
560 { |
560 { |
561 const Vehicle *v = GetVehicle(w->window_number); |
561 const Vehicle *v = GetVehicle(w->window_number); |
562 uint32 h = IsShipInDepot(v) ? 1 << 7 : 1 << 11; |
562 uint32 h = IsShipInDepotStopped(v) ? 1 << 7 : 1 << 11; |
563 |
563 |
564 if (h != w->hidden_state) { |
564 if (h != w->hidden_state) { |
565 w->hidden_state = h; |
565 w->hidden_state = h; |
566 SetWindowDirty(w); |
566 SetWindowDirty(w); |
567 } |
567 } |