diff options
author | rubidium <rubidium@openttd.org> | 2010-04-24 13:27:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-04-24 13:27:22 +0000 |
commit | e75e2648fc5a9c741629ef1efc8a097c655ed035 (patch) | |
tree | 37af684212bbdd39ab92860c5e0adb3e68f9fb87 /src/window.cpp | |
parent | fef77ca53e2d3a381889aecc6739053f1582143b (diff) | |
download | openttd-e75e2648fc5a9c741629ef1efc8a097c655ed035.tar.xz |
(svn r19706) -Add: support for the (NewGRF) debug box
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp index 78fbd1ac5..db8505ba1 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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()); |