mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-19 13:41:11 +00:00
(svn r25) Fix: [ 1007630 ] Scenario editor pause bug
This commit is contained in:
parent
0dd5113a98
commit
df26dc7687
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user