mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Fix possible crash on JK2
This commit is contained in:
parent
f6dc432f6a
commit
134dec8264
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ void BG_CalculateVRSaberPosition( vec3_t origin, vec3_t angles )
|
|||
|
||||
bool BG_UseVRPosition( gentity_t *ent )
|
||||
{
|
||||
return ( ent->client && (!ent->NPC || 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