mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
TERRAIN trick panel can use float strengths
More inbetweens available, if anyone needs them.
This commit is contained in:
parent
0b98417d07
commit
3188483eb2
1 changed files with 2 additions and 2 deletions
|
|
@ -479,7 +479,7 @@ void K_ProcessTerrainEffect(mobj_t *mo)
|
|||
const fixed_t hscale = mapobjectscale + (mapobjectscale - mo->scale);
|
||||
const fixed_t minspeed = 24*hscale;
|
||||
fixed_t speed = FixedHypot(mo->momx, mo->momy);
|
||||
fixed_t upwards = 16 * FRACUNIT * terrain->trickPanel;
|
||||
fixed_t upwards = 16 * terrain->trickPanel;
|
||||
|
||||
player->trickpanel = 1;
|
||||
player->pflags |= PF_TRICKDELAY;
|
||||
|
|
@ -1482,7 +1482,7 @@ static void K_ParseTerrainParameter(size_t i, char *param, char *val)
|
|||
}
|
||||
else if (stricmp(param, "trickPanel") == 0)
|
||||
{
|
||||
terrain->trickPanel = (UINT8)get_number(val); // trick panel strength enum?
|
||||
terrain->trickPanel = FLOAT_TO_FIXED(atof(val));
|
||||
}
|
||||
else if (stricmp(param, "floorClip") == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue