Chore: Disable track debugging

Hope no-one needs it, it was pissing me off
This commit is contained in:
SevenToaster509 2026-04-12 20:43:55 +01:00
parent e0cc846be5
commit 3d57609e12

View file

@ -770,14 +770,14 @@ int SoundEngine::GetRandomishTrack(int iStart,int iEnd)
if(m_bHeardTrackA[i]==false) if(m_bHeardTrackA[i]==false)
{ {
bAllTracksHeard=false; bAllTracksHeard=false;
app.DebugPrintf("Not heard all tracks yet\n"); //app.DebugPrintf("Not heard all tracks yet\n");
break; break;
} }
} }
if(bAllTracksHeard) if(bAllTracksHeard)
{ {
app.DebugPrintf("Heard all tracks - resetting the tracking array\n"); //app.DebugPrintf("Heard all tracks - resetting the tracking array\n");
for(size_t i=iStart;i<=iEnd;i++) for(size_t i=iStart;i<=iEnd;i++)
{ {
@ -793,17 +793,17 @@ int SoundEngine::GetRandomishTrack(int iStart,int iEnd)
if(m_bHeardTrackA[iVal]==false) if(m_bHeardTrackA[iVal]==false)
{ {
// not heard this // not heard this
app.DebugPrintf("(%d) Not heard track %d yet, so playing it now\n",i,iVal); //app.DebugPrintf("(%d) Not heard track %d yet, so playing it now\n",i,iVal);
m_bHeardTrackA[iVal]=true; m_bHeardTrackA[iVal]=true;
break; break;
} }
else else
{ {
app.DebugPrintf("(%d) Skipping track %d already heard it recently\n",i,iVal); //app.DebugPrintf("(%d) Skipping track %d already heard it recently\n",i,iVal);
} }
} }
app.DebugPrintf("Select track %d\n",iVal); //app.DebugPrintf("Select track %d\n",iVal);
return iVal; return iVal;
} }
///////////////////////////////////////////// /////////////////////////////////////////////