aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-02-13 18:17:08 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-02-13 18:17:08 +0000
commitdfd0b058172d46257f65568b409596a0aa438bd9 (patch)
treeefea2b7cbe61a66759897123827e69a18aeae145 /code/client
parentfc78095f330982bbf5dd265c8afc37e031a90913 (diff)
downloadioquake3-aero-dfd0b058172d46257f65568b409596a0aa438bd9.tar.gz
ioquake3-aero-dfd0b058172d46257f65568b409596a0aa438bd9.zip
* Fix to a woopsie
git-svn-id: svn://svn.icculus.org/quake3/trunk@540 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/snd_openal.c2
1 files changed, 1 insertions, 1 deletions
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
{