mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-16 13:02:40 +00:00
Merge branch 'stumble-repair' into 'master'
Stumble damage type repair Closes #425 and #424 See merge request KartKrew/Kart!909
This commit is contained in:
commit
45e02b67be
2 changed files with 7 additions and 7 deletions
|
|
@ -2337,13 +2337,11 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
break;
|
||||
}
|
||||
|
||||
if (type != DMG_STING && type != DMG_STUMBLE)
|
||||
if (type != DMG_STUMBLE)
|
||||
{
|
||||
player->flashing = K_GetKartFlashing(player);
|
||||
}
|
||||
if (type != DMG_STING)
|
||||
player->flashing = K_GetKartFlashing(player);
|
||||
|
||||
if (ringburst > 0)
|
||||
{
|
||||
P_PlayRinglossSound(target);
|
||||
P_PlayerRingBurst(player, ringburst);
|
||||
}
|
||||
|
|
@ -2356,7 +2354,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
}
|
||||
else
|
||||
{
|
||||
K_DropHnextList(player, false);
|
||||
K_DropHnextList(player, (type != DMG_STUMBLE));
|
||||
}
|
||||
|
||||
if (type != DMG_STUMBLE)
|
||||
|
|
|
|||
|
|
@ -6017,7 +6017,9 @@ static void P_ConvertBinarySectorTypes(void)
|
|||
case 8: //Instakill
|
||||
sectors[i].damagetype = SD_INSTAKILL;
|
||||
break;
|
||||
case 9: // Stumble
|
||||
//case 9: -- Ring Drainer (Floor Touch)
|
||||
//case 10: -- Ring Drainer (No Floor Touch)
|
||||
case 11: // Stumble
|
||||
sectors[i].damagetype = SD_STUMBLE;
|
||||
break;
|
||||
case 12: //Wall sector
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue