(svn r66) -Fix Station list updated on station deletion/station rename

-Changed debug messages to comply with DEBUG(name, level) heuristics
This commit is contained in:
darkvater
2004-08-16 14:48:35 +00:00
parent d33c833a82
commit 68c9b7c3ad
10 changed files with 26 additions and 25 deletions

2
ttd.c
View File

@@ -428,6 +428,7 @@ void SetDebugString(const char *s)
_debug_spritecache_level = v;
_debug_misc_level = v;
_debug_grf_level = v;
}
// individual levels
@@ -443,6 +444,7 @@ void SetDebugString(const char *s)
// check debugging levels
if IS_LVL("misc") p = &_debug_misc_level;
else if IS_LVL("spritecache") p = &_debug_spritecache_level;
else if IS_LVL("grf") p = &_debug_grf_level;
else {
ShowInfoF("Unknown debug level '%.*s'", s-t, t);
return;