mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-22 04:01:33 +00:00
Fix crash in JKA
This commit is contained in:
parent
1e4692d04a
commit
74dcd955d2
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ void BG_CalculateVRSaberPosition( int saberNum, vec3_t origin, vec3_t angles )
|
|||
|
||||
bool BG_UseVRPosition( gentity_t *ent )
|
||||
{
|
||||
return ( ent->client && (!ent->NPC || ent->client->ps.clientNum == 0 || ent->client->ps.clientNum == cg_entities[0].gent->client->ps.viewEntity));
|
||||
return ( ent->client && ent->client->ps.clientNum == 0 );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue