Fix rare sink crash, fix jawz particles hang, fix magnet landing

This commit is contained in:
JugadorXEI 2021-05-06 03:10:01 +02:00
parent ff26ff9b61
commit 5882338192
2 changed files with 4 additions and 4 deletions

View file

@ -15757,7 +15757,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
0, // mass
0, // damage
sfx_None, // activesound
MF_NOBLOCKMAP|MF_BOUNCE|MF_SCENERY|MF_DONTENCOREMAP, // flags
MF_NOBLOCKMAP|MF_NOCLIP|MF_BOUNCE|MF_SCENERY|MF_DONTENCOREMAP, // flags
S_NULL // raisestate
},
@ -15904,7 +15904,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
sfx_tossed, // seesound
8, // reactiontime
sfx_None, // attacksound
256*FRACUNIT, // painstate
S_NULL, // painstate
100, // painchance
sfx_None, // painsound
S_NULL, // meleestate

View file

@ -4526,7 +4526,7 @@ static void K_UpdateEngineSounds(player_t *player, ticcmd_t *cmd)
volume = FixedDiv(volume * FRACUNIT, volumedampen) / FRACUNIT;
}
if (volume <= 0)
if (volume <= 0)
{
// Don't need to play the sound at all.
return;
@ -5968,7 +5968,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
{
if (player->kartstuff[k_offroad])
player->mo->friction -= 4912;
if (player->kartstuff[k_wipeoutslow] == 1)
if (player->kartstuff[k_wipeoutslow] == 1 && player->kartstuff[k_pogospring] == 0)
player->mo->friction -= 9824;
}
}