mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 06:31:44 +00:00
FTE/SERVER: Fix reloading while scoped with Sniper Rifles
This commit is contained in:
parent
c659a649f9
commit
ce93ef1d2d
1 changed files with 6 additions and 0 deletions
|
@ -410,6 +410,9 @@ void(float side) W_AdvanceAnim =
|
|||
|
||||
void(float side) W_Reload =
|
||||
{
|
||||
if (self.zoom == 2)
|
||||
return;
|
||||
|
||||
if (self.weapon == W_M2 || self.weapon == W_FIW)
|
||||
return;
|
||||
|
||||
|
@ -2117,6 +2120,9 @@ void () Weapon_Logic =
|
|||
UpdateVmodel(self.weaponmodel, GetWepSkin(self.weapon));
|
||||
UpdateV2model(self.weapon2model, 0);
|
||||
self.viewzoom = 1;
|
||||
self.zoom = 0;
|
||||
if (self.currentmag == 0)
|
||||
W_Reload(S_BOTH);
|
||||
} else {
|
||||
if (self.viewzoom == 0.75) {
|
||||
W_AimOut();
|
||||
|
|
Loading…
Reference in a new issue