mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Fix to a woopsie
This commit is contained in:
parent
932ca8027c
commit
26b4ed2f7d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue