mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Stumble floors are not damage, we use this to control area access!
This commit is contained in:
parent
587eddeb70
commit
867dfb49f2
1 changed files with 2 additions and 2 deletions
|
|
@ -5421,9 +5421,9 @@ static void P_EvaluateDamageType(player_t *player, sector_t *sector, boolean isT
|
|||
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_INSTAKILL);
|
||||
break;
|
||||
case SD_STUMBLE:
|
||||
if (isTouching)
|
||||
if (isTouching && !((player->mo->momz > 0) != (P_MobjFlip(player->mo) > 0)))
|
||||
{
|
||||
P_DamageMobj(player->mo, NULL, NULL, 1, DMG_STUMBLE|DMG_WOMBO);
|
||||
K_StumblePlayer(player);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue