summaryrefslogtreecommitdiff
path: root/src/newgrf_debug.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-12 20:51:38 +0000
committerterkhen <terkhen@openttd.org>2011-06-12 20:51:38 +0000
commit46d1a0621581a711aedeaa5d15628b4048fde43a (patch)
tree253ccf4e17d1d7cbd2d95b329811ec8320bf539a /src/newgrf_debug.h
parenta619ad37897c6ee985aa7bb0dadbd9bbc47c5a63 (diff)
downloadopenttd-46d1a0621581a711aedeaa5d15628b4048fde43a.tar.xz
(svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI.
Diffstat (limited to 'src/newgrf_debug.h')
-rw-r--r--src/newgrf_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_debug.h b/src/newgrf_debug.h
index 4fd9d498f..89ede74eb 100644
--- a/src/newgrf_debug.h
+++ b/src/newgrf_debug.h
@@ -35,7 +35,7 @@ struct NewGrfDebugSpritePicker {
extern NewGrfDebugSpritePicker _newgrf_debug_sprite_picker;
bool IsNewGRFInspectable(GrfSpecFeature feature, uint index);
-void ShowNewGRFInspectWindow(GrfSpecFeature feature, uint index);
+void ShowNewGRFInspectWindow(GrfSpecFeature feature, uint index, const uint32 grfid = 0);
void DeleteNewGRFInspectWindow(GrfSpecFeature feature, uint index);
GrfSpecFeature GetGrfSpecFeature(TileIndex tile);