Changeset - r24:333bda5fea9f
[Not reviewed]
master
0 1 0
dominik - 20 years ago 2004-08-12 09:36:22
dominik@openttd.org
(svn r25) Fix: [ 1007630 ] Scenario editor pause bug
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
main_gui.c
Show inline comments
 
@@ -1893,12 +1893,17 @@ static void ScenEditToolbarWndProc(Windo
 
		SetWindowDirty(w);
 
	} break;
 

	
 
	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);
 
		}
 
		break;
 

	
0 comments (0 inline, 0 general)