# HG changeset patch # User dominik # Date 2004-08-12 09:36:22 # Node ID 333bda5fea9fe845755bc7f755d189aae8c2ab4f # Parent 20f08c6f4b299113971ad0e525dea19b1114694e (svn r25) Fix: [ 1007630 ] Scenario editor pause bug diff --git a/main_gui.c b/main_gui.c --- a/main_gui.c +++ b/main_gui.c @@ -1896,6 +1896,11 @@ static void ScenEditToolbarWndProc(Windo 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);