mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-02-07 16:31:21 +00:00
Do not draw weapon model with enabled weapon scope
This commit is contained in:
parent
bef1e32a2c
commit
91406602f8
1 changed files with 4 additions and 0 deletions
|
@ -1724,6 +1724,10 @@ void CG_AddViewWeapon( playerState_t *ps ) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (vr->weapon_zoomed) {
|
||||
return; // do not draw weapon model with enabled weapon scope
|
||||
}
|
||||
|
||||
cent = &cg.predictedPlayerEntity; // &cg_entities[cg.snap->ps.clientNum];
|
||||
CG_RegisterWeapon( ps->weapon );
|
||||
weapon = &cg_weapons[ ps->weapon ];
|
||||
|
|
Loading…
Reference in a new issue