mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
Reduce pump/bolt time with Double Tap
This commit is contained in:
parent
5b45e5bd66
commit
9e8293b2eb
1 changed files with 4 additions and 2 deletions
|
@ -585,11 +585,13 @@ 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;
|
||||||
|
|
Loading…
Reference in a new issue