author | belugas |
Thu, 05 Oct 2006 02:29:01 +0000 | |
changeset 4733 | 7405f1da28f1 |
parent 4732 | 4f1c405ac96e |
child 4734 | 24b34218c5ce |
depot_gui.c | file | annotate | diff | comparison | revisions |
--- a/depot_gui.c Thu Oct 05 02:26:27 2006 +0000 +++ b/depot_gui.c Thu Oct 05 02:29:01 2006 +0000 @@ -652,9 +652,9 @@ case DEPOT_WIDGET_CLONE: // Clone button InvalidateWidget(w, DEPOT_WIDGET_CLONE); - TOGGLEBIT(w->click_state, DEPOT_WIDGET_CLONE); + ToggleWidgetLoweredState(w, DEPOT_WIDGET_CLONE); - if (HASBIT(w->click_state, DEPOT_WIDGET_CLONE)) { + if (IsWindowWidgetLowered(w, DEPOT_WIDGET_CLONE)) { _place_clicked_vehicle = NULL; SetObjectToPlaceWnd(SPR_CURSOR_CLONE, VHM_RECT, w); } else {