mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-25 05:21:00 +00:00
Hide force power aura when item selector is shown
This commit is contained in:
parent
0a9206642e
commit
62b9a0bfab
1 changed files with 7 additions and 2 deletions
|
@ -5600,8 +5600,13 @@ extern vmCvar_t cg_thirdPersonAlpha;
|
|||
}
|
||||
|
||||
if ( cent->gent->client->ps.powerups[PW_FORCE_PUSH] > cg.time || (cent->gent->client->ps.forcePowersActive & (1<<FP_GRIP)) )
|
||||
{//doing the pushing/gripping
|
||||
CG_ForcePushBlur( cent->gent->client->renderInfo.handLPoint );
|
||||
{
|
||||
// Don't draw this blur if the item selector is visible or it obscures it
|
||||
if (cent->gent->client->ps.clientNum != 0 || !vr->item_selector)
|
||||
{
|
||||
//doing the pushing/gripping
|
||||
CG_ForcePushBlur(cent->gent->client->renderInfo.handLPoint);
|
||||
}
|
||||
}
|
||||
|
||||
if ( cent->gent->client->ps.eFlags & EF_FORCE_GRIPPED )
|
||||
|
|
Loading…
Reference in a new issue