Fix imprecision in fuel regen stops.
This commit is contained in:
parent
27e979091b
commit
f4029bc219
2 changed files with 4 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.26 r2 \cu(Fri 17 Jun 23:02:56 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.26 r2 \cu(2022-06-17 23:02:56)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.26 r3 \cu(Fri 17 Jun 23:03:41 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.26 r3 \cu(2022-06-17 23:03:41)\c-";
|
||||
|
|
|
|||
|
|
@ -1280,11 +1280,13 @@ Class Demolitionist : PlayerPawn
|
|||
// stops
|
||||
if ( (oldfuel < (default.dashfuel/24)) && (dashfuel >= default.dashfuel/24) )
|
||||
{
|
||||
dashfuel = default.dashfuel/24;
|
||||
fuelcooldown = 20;
|
||||
A_StartSound("demolitionist/fuelrgstp",CHAN_BODY,CHANF_OVERLAP,.6,4.,.6);
|
||||
}
|
||||
else if ( (oldfuel < (default.dashfuel/12)) && (dashfuel >= default.dashfuel/12) )
|
||||
{
|
||||
dashfuel = default.dashfuel/12;
|
||||
fuelcooldown = 10;
|
||||
A_StartSound("demolitionist/fuelrgstp",CHAN_BODY,CHANF_OVERLAP,.6,4.,.7);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue