From dfd0b058172d46257f65568b409596a0aa438bd9 Mon Sep 17 00:00:00 2001 From: tma Date: Mon, 13 Feb 2006 18:17:08 +0000 Subject: * Fix to a woopsie git-svn-id: svn://svn.icculus.org/quake3/trunk@540 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/snd_openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index 7514f8b..9652cbd 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 { -- cgit v1.2.3