Fix imprecision in fuel regen stops (noticeable in alt hud).
This commit is contained in:
parent
b9a58adabc
commit
e45001a8b7
3 changed files with 4 additions and 2 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 111 B |
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r123 \cu(Wed 15 Jun 10:58:47 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r123 \cu(2022-06-15 10:58:47)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r124 \cu(Wed 15 Jun 16:39:31 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r124 \cu(2022-06-15 16:39:31)\c-";
|
||||
|
|
|
|||
|
|
@ -1218,11 +1218,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