From 70920944d85feede9b5dc738a69c1a7899585eb7 Mon Sep 17 00:00:00 2001 From: celestar Date: Mon, 8 Jan 2007 14:01:05 +0000 Subject: [PATCH] (svn r7979) [0.5] - Fix: Segfault in the newgrf loading code (grfmsg => DEBUG). Do it in the right directory this time. Sorry for da mess :S --- newgrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }