From df26dc7687613d6c66af57cac5a3208c26274fb8 Mon Sep 17 00:00:00 2001 From: dominik Date: Thu, 12 Aug 2004 09:36:22 +0000 Subject: (svn r25) Fix: [ 1007630 ] Scenario editor pause bug --- main_gui.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main_gui.c b/main_gui.c index 7340432d7..f6bae51c1 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1896,6 +1896,11 @@ static void ScenEditToolbarWndProc(Window *w, WindowEvent *e) case WE_ON_EDIT_TEXT: HandleOnEditText(e); break; case WE_MOUSELOOP: + if (((w->click_state) & 1) != (uint)!!_pause) { + w->click_state ^= (1 << 0); + SetWindowDirty(w); + } + if (((w->click_state >> 1) & 1) != (uint)!!_fast_forward) { w->click_state ^= (1 << 1); SetWindowDirty(w); -- cgit v1.2.3-70-g09d2