mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-damage-floor-invinc' into 'master'
Fix stumble behavior being used on non-stumble terrain See merge request kart-krew-dev/ring-racers-internal!2913
This commit is contained in:
commit
14201c65aa
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ void K_ProcessTerrainEffect(mobj_t *mo)
|
|||
{
|
||||
UINT8 dmg = (terrain->damageType & 0xFF);
|
||||
|
||||
if (dmg & DMG_STUMBLE && !G_CompatLevel(0x0010))
|
||||
if ((dmg == DMG_STUMBLE) && !G_CompatLevel(0x0010))
|
||||
{
|
||||
if (player->mo->hitlag == 0 &&
|
||||
(player->mo->momz == 0 || (player->mo->momz > 0) != (P_MobjFlip(player->mo) > 0)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue