summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ttd.c b/ttd.c
index 78ee234b3..eff9d9d29 100644
--- a/ttd.c
+++ b/ttd.c
@@ -428,6 +428,7 @@ void SetDebugString(const char *s)
_debug_spritecache_level = v;
_debug_misc_level = v;
+ _debug_grf_level = v;
}
// individual levels
@@ -443,6 +444,7 @@ void SetDebugString(const char *s)
// check debugging levels
if IS_LVL("misc") p = &_debug_misc_level;
else if IS_LVL("spritecache") p = &_debug_spritecache_level;
+ else if IS_LVL("grf") p = &_debug_grf_level;
else {
ShowInfoF("Unknown debug level '%.*s'", s-t, t);
return;