mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
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:
parent
f553d6ad10
commit
c2517d0d99
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue