From 26b4ed2f7d1efb7912647b6ce4f51e26b7261acb Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 13 Feb 2006 18:17:08 +0000 Subject: [PATCH] * Fix to a woopsie --- code/client/snd_openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {