Fix disruptor zoom in JKA

This commit is contained in:
Petr Bartos 2023-10-18 22:24:37 +02:00 committed by Simon
parent 59a79bdf84
commit c3b4f55a0b

View file

@ -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;
} }
} }