diff --git a/newgrf.c b/newgrf.c index 405ae34723..aa6df5038a 100644 --- a/newgrf.c +++ b/newgrf.c @@ -2418,7 +2418,7 @@ static void SkipIf(byte *buf, int len) const GRFConfig *c = GetGRFConfig(cond_val); if (condtype != 10 && c == NULL) { - grfmsg(7, "GRFID 0x%08X unknown, skipping test", BSWAP32(cond_val)); + DEBUG(grf, 7) ("GRFID 0x%08X unknown, skipping test", BSWAP32(cond_val)); return; }