git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6416
d7cf8633-e32d-0410-b094-
e92efae38249
{
unsigned int newsoundtime, paintedtime, endtime, maxtime, usedframes;
- if (snd_renderbuffer == NULL || snd_blocked > 0)
+ if (snd_renderbuffer == NULL || snd_blocked > 0 || nosound.integer)
return;
// Update sound time
channel_t *ch, *combine;
matrix4x4_t basematrix, rotatematrix;
- if (!snd_initialized.integer || snd_blocked > 0 || snd_renderbuffer == NULL)
+ if (snd_renderbuffer == NULL || snd_blocked > 0 || nosound.integer)
return;
Matrix4x4_Invert_Simple(&basematrix, listenermatrix);