mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-19 12:01:36 +00:00
Splat stretch and squash isn't on the same axis, so just... don't do it, at least for now.
This commit is contained in:
parent
6cbeda5ec6
commit
ef0de0dec2
1 changed files with 3 additions and 0 deletions
|
|
@ -4714,6 +4714,9 @@ void K_Squish(mobj_t *mo)
|
|||
fixed_t grav = mo->height/3;
|
||||
fixed_t add = abs(grav - new3dspeed);
|
||||
|
||||
if (R_ThingIsFloorSprite(mo))
|
||||
return;
|
||||
|
||||
if (delta < 2 * add && new3dspeed > grav)
|
||||
delta += add;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue