mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Minorly extend squish time
This commit is contained in:
parent
95bfe07d66
commit
c5e3eb7fff
1 changed files with 2 additions and 2 deletions
|
|
@ -4545,7 +4545,7 @@ void K_DriftDustHandling(mobj_t *spawner)
|
||||||
void K_Squish(mobj_t *mo)
|
void K_Squish(mobj_t *mo)
|
||||||
{
|
{
|
||||||
const fixed_t maxstretch = 4*FRACUNIT;
|
const fixed_t maxstretch = 4*FRACUNIT;
|
||||||
const fixed_t factor = 3 * mo->height / 2;
|
const fixed_t factor = 5 * mo->height / 4;
|
||||||
const fixed_t threshold = factor / 6;
|
const fixed_t threshold = factor / 6;
|
||||||
|
|
||||||
const fixed_t old3dspeed = abs(mo->lastmomz);
|
const fixed_t old3dspeed = abs(mo->lastmomz);
|
||||||
|
|
@ -4571,7 +4571,7 @@ void K_Squish(mobj_t *mo)
|
||||||
{
|
{
|
||||||
mo->spritexscale -=
|
mo->spritexscale -=
|
||||||
(mo->spritexscale - FRACUNIT)
|
(mo->spritexscale - FRACUNIT)
|
||||||
/ (mo->spritexscale < FRACUNIT ? 8 : 2);
|
/ (mo->spritexscale < FRACUNIT ? 8 : 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
mo->spriteyscale =
|
mo->spriteyscale =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue