(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 0.5
authorcelestar
Mon, 08 Jan 2007 14:01:05 +0000
branch0.5
changeset 5406 321f494e7b68
parent 5405 b265a946adac
child 5407 e354823cde11
(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
--- a/newgrf.c	Sun Jan 07 17:38:58 2007 +0000
+++ b/newgrf.c	Mon Jan 08 14:01:05 2007 +0000
@@ -2418,7 +2418,7 @@
 		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;
 		}