(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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user