mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-22 05:21:11 +00:00
Fix stumble behavior being used on non-stumble terrain
This commit is contained in:
parent
06626c9b0d
commit
80c0db9546
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