mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +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 grav = mo->height/3;
|
||||||
fixed_t add = abs(grav - new3dspeed);
|
fixed_t add = abs(grav - new3dspeed);
|
||||||
|
|
||||||
|
if (R_ThingIsFloorSprite(mo))
|
||||||
|
return;
|
||||||
|
|
||||||
if (delta < 2 * add && new3dspeed > grav)
|
if (delta < 2 * add && new3dspeed > grav)
|
||||||
delta += add;
|
delta += add;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue