mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Fix disruptor zoom in JKA
This commit is contained in:
parent
59a79bdf84
commit
c3b4f55a0b
1 changed files with 1 additions and 4 deletions
|
@ -14586,10 +14586,7 @@ void PM_AdjustAttackStates( pmove_t *pm )
|
||||||
}
|
}
|
||||||
else if ( cg.zoomMode == 2 )
|
else if ( cg.zoomMode == 2 )
|
||||||
{
|
{
|
||||||
G_SoundOnEnt( pm->gent, CHAN_AUTO, "sound/weapons/disruptor/zoomend.wav" );
|
G_SoundOnEnt( pm->gent, CHAN_AUTO, "sound/weapons/disruptor/zoomstart.wav" );
|
||||||
// already zooming, so must be wanting to turn it off
|
|
||||||
cg.zoomMode = 0;
|
|
||||||
cg.zoomTime = cg.time;
|
|
||||||
cg.zoomLocked = qfalse;
|
cg.zoomLocked = qfalse;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue