(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files

This commit is contained in:
rubidium
2011-12-10 08:31:14 +00:00
parent 1db365d0e2
commit b231e80125
7 changed files with 2 additions and 7 deletions

View File

@@ -1700,7 +1700,6 @@ void DrawDirtyBlocks()
_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;