(svn r19706) -Add: support for the (NewGRF) debug box
This commit is contained in:
@@ -346,6 +346,10 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, int click_count)
|
||||
nw->SetDirty(w);
|
||||
return;
|
||||
|
||||
case WWT_DEBUGBOX:
|
||||
w->ShowNewGRFInspectWindow();
|
||||
break;
|
||||
|
||||
case WWT_SHADEBOX:
|
||||
nw->SetDirty(w);
|
||||
w->SetShaded(!w->IsShaded());
|
||||
|
Reference in New Issue
Block a user