Suppress tile and sound remapping debug output in debug builds when not using -condebug

git-svn-id: https://svn.eduke32.com/eduke32@4630 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-09-30 04:16:06 +00:00
parent f553d6ad10
commit c2517d0d99
2 changed files with 2 additions and 2 deletions

View file

@ -1539,7 +1539,7 @@ void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue)
{ {
struct dynitem *di = &g_dynTileList[i]; struct dynitem *di = &g_dynTileList[i];
#ifdef DEBUGGINGAIDS #ifdef DEBUGGINGAIDS
if (di->staticval != lValue) if (g_scriptDebug && di->staticval != lValue)
OSD_Printf("REMAP %s (%d) --> %d\n", di->str, di->staticval, lValue); OSD_Printf("REMAP %s (%d) --> %d\n", di->str, di->staticval, lValue);
#endif #endif
*di->dynvalptr = lValue; *di->dynvalptr = lValue;

View file

@ -858,7 +858,7 @@ void G_ProcessDynamicSoundMapping(const char *szLabel, int32_t lValue)
{ {
struct dynitem *di = &g_dynSoundList[i]; struct dynitem *di = &g_dynSoundList[i];
#ifdef DEBUGGINGAIDS #ifdef DEBUGGINGAIDS
if (di->staticval != lValue) if (g_scriptDebug && di->staticval != lValue)
OSD_Printf("REMAP %s (%d) --> %d\n", di->str, di->staticval, lValue); OSD_Printf("REMAP %s (%d) --> %d\n", di->str, di->staticval, lValue);
#endif #endif
*di->dynvalptr = lValue; *di->dynvalptr = lValue;