diff --git a/polymer/eduke32/source/namesdyn.c b/polymer/eduke32/source/namesdyn.c index 554171c91..6b0999737 100644 --- a/polymer/eduke32/source/namesdyn.c +++ b/polymer/eduke32/source/namesdyn.c @@ -1539,7 +1539,7 @@ void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue) { struct dynitem *di = &g_dynTileList[i]; #ifdef DEBUGGINGAIDS - if (di->staticval != lValue) + if (g_scriptDebug && di->staticval != lValue) OSD_Printf("REMAP %s (%d) --> %d\n", di->str, di->staticval, lValue); #endif *di->dynvalptr = lValue; diff --git a/polymer/eduke32/source/soundsdyn.c b/polymer/eduke32/source/soundsdyn.c index 39a2b077a..c1319b55f 100644 --- a/polymer/eduke32/source/soundsdyn.c +++ b/polymer/eduke32/source/soundsdyn.c @@ -858,7 +858,7 @@ void G_ProcessDynamicSoundMapping(const char *szLabel, int32_t lValue) { struct dynitem *di = &g_dynSoundList[i]; #ifdef DEBUGGINGAIDS - if (di->staticval != lValue) + if (g_scriptDebug && di->staticval != lValue) OSD_Printf("REMAP %s (%d) --> %d\n", di->str, di->staticval, lValue); #endif *di->dynvalptr = lValue;