From 6d25cd50dd8c54d96e46e603fef33563fc898e6f Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Apr 2008 16:51:54 +0000 Subject: (svn r12771) -Codechange: remove more from variables.h. --- src/main_gui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main_gui.cpp') 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; -- cgit v1.2.3-70-g09d2