mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Ensure hand is drawn if dual sabering, but holding a different weapon
This commit is contained in:
parent
a67dc074cb
commit
7528b8dc40
1 changed files with 3 additions and 1 deletions
|
@ -2345,7 +2345,9 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView ) {
|
|||
if (!in_camera
|
||||
&& !cg.renderingThirdPerson
|
||||
&& cg.predicted_player_state.stats[STAT_HEALTH] > 0
|
||||
&& (cg.snap->ps.viewEntity < ENTITYNUM_WORLD && g_entities[cg.snap->ps.viewEntity].client && !g_entities[cg.snap->ps.viewEntity].client->ps.dualSabers)
|
||||
&& cg.snap->ps.viewEntity < ENTITYNUM_WORLD
|
||||
&& g_entities[cg.snap->ps.viewEntity].client
|
||||
&& !(g_entities[cg.snap->ps.viewEntity].client->ps.dualSabers && cg.snap->ps.weapon == WP_SABER)
|
||||
&& cg.snap->ps.weapon != WP_MELEE
|
||||
&& !vr->weapon_stabilised
|
||||
&& !vr->in_vehicle
|
||||
|
|
Loading…
Reference in a new issue