summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-10 08:31:14 +0000
committerrubidium <rubidium@openttd.org>2011-12-10 08:31:14 +0000
commitb231e80125d7349a07ce2822dd1759dfc6d3c001 (patch)
tree21855701d67587ae3071d50b380614771a68c6fa /src/gfx.cpp
parent1db365d0e2027ca1b2e59efcd2935be1a7afe2e4 (diff)
downloadopenttd-b231e80125d7349a07ce2822dd1759dfc6d3c001.tar.xz
(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 0cbead9af..fbca165af 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -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;