mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-14 00:40:39 +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];
|
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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue