diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 7514f8bc..9652cbd5 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -1465,7 +1465,7 @@ void S_AL_Respatialize( int entityNum, const vec3_t origin, vec3_t axis[3], int float orientation[6]; vec3_t sorigin; - if( s_alSpatEntOrigin->integer && entityNum ) + if( s_alSpatEntOrigin->integer && entityNum >= 0 ) VectorCopy( entityList[ entityNum ].origin, sorigin ); else {