equal
deleted
inserted
replaced
347 * Widget 11 (clone) should then be shown, since cloning is allowed only while in hangar and stopped. |
347 * Widget 11 (clone) should then be shown, since cloning is allowed only while in hangar and stopped. |
348 * This sytem allows to have two buttons, on top of each other*/ |
348 * This sytem allows to have two buttons, on top of each other*/ |
349 if (plane_stopped != IsWindowWidgetHidden(w, 7) || plane_stopped == IsWindowWidgetHidden(w, 11)) { |
349 if (plane_stopped != IsWindowWidgetHidden(w, 7) || plane_stopped == IsWindowWidgetHidden(w, 11)) { |
350 SetWindowWidgetHiddenState(w, 7, plane_stopped); // send to hangar |
350 SetWindowWidgetHiddenState(w, 7, plane_stopped); // send to hangar |
351 SetWindowWidgetHiddenState(w, 11, !plane_stopped); // clone |
351 SetWindowWidgetHiddenState(w, 11, !plane_stopped); // clone |
352 SetWindowDirty(w); |
352 w->SetDirty(); |
353 } |
353 } |
354 } break; |
354 } break; |
355 } |
355 } |
356 } |
356 } |
357 |
357 |