diff options
author | planetmaker <planetmaker@openttd.org> | 2011-07-20 16:19:48 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2011-07-20 16:19:48 +0000 |
commit | 3045c3fd2a84290abfc8c1510cd0a24aa7ce38b0 (patch) | |
tree | faed26decb8171d7e54e213f3e3c3f36ffe653b2 /src/main_gui.cpp | |
parent | a70c37e4c9b80872b9fca1fb5707743854198ecf (diff) | |
download | openttd-3045c3fd2a84290abfc8c1510cd0a24aa7ce38b0.tar.xz |
(svn r22675) -Change: Add a menu entry for the sprite bounding box debuging feature in the help menu and enable bounding boxes only in conjunction with the newgrf developer tools
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 7b4b55526..e7a593c8f 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -301,9 +301,7 @@ struct MainWindow : Window return ES_HANDLED; case GHK_BOUNDING_BOXES: - extern bool _draw_bounding_boxes; - _draw_bounding_boxes = !_draw_bounding_boxes; - MarkWholeScreenDirty(); + ToggleBoundingBoxes(); return ES_HANDLED; } |