Reduce pump/bolt time with Double Tap

This commit is contained in:
moto 2022-07-10 10:54:48 -04:00
parent 5b45e5bd66
commit 9e8293b2eb

View file

@ -585,12 +585,14 @@ void () W_LoadAmmo =
startframe = 4; startframe = 4;
endframe = 13; endframe = 13;
reloadcancelframe = 9; reloadcancelframe = 9;
delay = 0.9; delay = 1.2;
endanimfunc = W_LoadAmmoDone; endanimfunc = W_LoadAmmoDone;
} }
if (delay) { if (delay) {
if (self.perks & P_DOUBLE)
delay *= 0.66;
Set_W_Frame (startframe, endframe, delay, reloadcancelframe, FIRE, W_LoadAmmoDone, modelname, false, S_RIGHT); Set_W_Frame (startframe, endframe, delay, reloadcancelframe, FIRE, W_LoadAmmoDone, modelname, false, S_RIGHT);
self.fire_delay = delay + time; self.fire_delay = delay + time;
} }