Changeset - r17979:75d82bc70f51
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-08-21 12:53:38
rubidium@openttd.org
(svn r22798) -Change: jump immediately to the next mode after scanning (if needed)
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -1565,6 +1565,12 @@ void DrawDirtyBlocks()
 
		_realtime_tick += MODAL_PROGRESS_REDRAW_TIMEOUT;
 
		_modal_progress_paint_mutex->BeginCritical();
 
		_modal_progress_work_mutex->BeginCritical();
 

	
 
		extern void SwitchToMode(SwitchMode new_mode);
 
		if (_switch_mode != SM_NONE && !HasModalProgress()) {
 
			SwitchToMode(_switch_mode);
 
			_switch_mode = SM_NONE;
 
		}
 
	}
 

	
 
	y = 0;
0 comments (0 inline, 0 general)