(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

This commit is contained in:
planetmaker
2011-07-20 16:19:48 +00:00
parent 49e7846bfe
commit cc68dac035
4 changed files with 27 additions and 4 deletions

View File

@@ -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;
}