(svn r6645) -Fix(r6631): Forgot two click_state occurences

This commit is contained in:
belugas 2006-10-05 02:29:01 +00:00
parent 66206867fe
commit 7606b2707d
1 changed files with 2 additions and 2 deletions

View File

@ -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 {