Fix imprecision in fuel regen stops.
This commit is contained in:
parent
27e979091b
commit
f4029bc219
2 changed files with 4 additions and 2 deletions
|
|
@ -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