diff options
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 4 |
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; |