summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-18 16:51:54 +0000
committerrubidium <rubidium@openttd.org>2008-04-18 16:51:54 +0000
commit7edc9b65c6d1f20ab53336578bce7053810e930b (patch)
treee71bf4ffc34986f73dc6c46d6fc51276ea7aba91 /src/main_gui.cpp
parent3547e6d2ba7d0d149e7f09e7d53fad8caf17661a (diff)
downloadopenttd-7edc9b65c6d1f20ab53336578bce7053810e930b.tar.xz
(svn r12771) -Codechange: remove more from variables.h.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 0192e5372..dd4886c03 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -43,9 +43,6 @@
static int _rename_id = 1;
static int _rename_what = -1;
-bool _draw_bounding_boxes = false;
-
-
void CcGiveMoney(bool success, TileIndex tile, uint32 p1, uint32 p2)
{
#ifdef ENABLE_NETWORK
@@ -257,6 +254,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e)
if (e->we.keypress.keycode == ('B' | WKC_CTRL)) {
e->we.keypress.cont = false;
+ extern bool _draw_bounding_boxes;
_draw_bounding_boxes = !_draw_bounding_boxes;
MarkWholeScreenDirty();
break;