summaryrefslogtreecommitdiff
path: root/grfspecial.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-16 15:13:46 +0000
committerdarkvater <darkvater@openttd.org>2004-08-16 15:13:46 +0000
commit4587ede35d8ada9f15c1a8ba5e2362cc870c0073 (patch)
tree2984faebdc648484861defba165f192da502f71a /grfspecial.c
parent68c9b7c3ad902784c07b0d76c81c87e073c826b3 (diff)
downloadopenttd-4587ede35d8ada9f15c1a8ba5e2362cc870c0073.tar.xz
(svn r67) -Forget to change debug message for grfspecial.c
-Added compile flag NO_DEBUG_MESSAGES which will strip executeable of all DEBUG(..,..)'s
Diffstat (limited to 'grfspecial.c')
-rw-r--r--grfspecial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/grfspecial.c b/grfspecial.c
index 47f7bc31c..d91711b04 100644
--- a/grfspecial.c
+++ b/grfspecial.c
@@ -928,8 +928,7 @@ static void GRFInfo(byte *buf, int len)
uint8 version = buf[1];
// this is de facto big endian - grf_load_dword() unsuitable
uint32 grfid = buf[2] << 24 | buf[3] << 16 | buf[4] << 8 | buf[5];
- if(_debug_misc_level!=0)
- printf("[%s] Loaded GRFv%d set %08lx - %s:\n%s\n", _cur_grffile, version, grfid, buf+6, buf+6+strlen(buf+6)+1);
+ DEBUG(grf, 1) ("[%s] Loaded GRFv%d set %08lx - %s:\n%s\n", _cur_grffile, version, grfid, buf+6, buf+6+strlen(buf+6)+1);
}
}