(svn r67) -Forget to change debug message for grfspecial.c

-Added compile flag NO_DEBUG_MESSAGES which will strip executeable of all DEBUG(..,..)'s
This commit is contained in:
darkvater
2004-08-16 15:13:46 +00:00
parent 68c9b7c3ad
commit 4587ede35d
3 changed files with 6 additions and 5 deletions

View File

@@ -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);
}
}