* Fix to a woopsie

This commit is contained in:
Tim Angus 2006-02-13 18:17:08 +00:00
parent 932ca8027c
commit 26b4ed2f7d

View file

@ -1465,7 +1465,7 @@ void S_AL_Respatialize( int entityNum, const vec3_t origin, vec3_t axis[3], int
float orientation[6]; float orientation[6];
vec3_t sorigin; vec3_t sorigin;
if( s_alSpatEntOrigin->integer && entityNum ) if( s_alSpatEntOrigin->integer && entityNum >= 0 )
VectorCopy( entityList[ entityNum ].origin, sorigin ); VectorCopy( entityList[ entityNum ].origin, sorigin );
else else
{ {