From 7606b2707d5bee3f274e1e0dd58b00decd5110a0 Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 5 Oct 2006 02:29:01 +0000 Subject: (svn r6645) -Fix(r6631): Forgot two click_state occurences --- depot_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/depot_gui.c b/depot_gui.c index c3b1c1988..d4dab78af 100644 --- a/depot_gui.c +++ b/depot_gui.c @@ -652,9 +652,9 @@ static void DepotWndProc(Window *w, WindowEvent *e) 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 { -- cgit v1.2.3-70-g09d2