K_MoveKartPlayer: Remove unused mobj_t ref from forward-thrown Landmine

This commit is contained in:
toaster 2025-05-18 15:45:12 +01:00
parent b8625339fa
commit 67ff68f7a3

View file

@ -13802,9 +13802,10 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
player->itemamount--;
if (player->throwdir > 0)
{
mobj_t *landmine = K_ThrowKartItem(player, true, MT_LANDMINE, -1, 0, 0);
K_ThrowKartItem(player, true, MT_LANDMINE, -1, 0, 0);
}
else {
else
{
K_ThrowLandMine(player);
}
K_PlayAttackTaunt(player->mo);