src/main_gui.cpp
changeset 8979 d7ba4e5eac9c
parent 8977 288be89be1dc
child 8985 6461e5c6d6e4
--- a/src/main_gui.cpp	Fri Apr 18 16:20:04 2008 +0000
+++ b/src/main_gui.cpp	Fri Apr 18 16:51:54 2008 +0000
@@ -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 @@
 
 			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;