mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
K_MoveKartPlayer: Remove unused mobj_t ref from forward-thrown Landmine
This commit is contained in:
parent
b8625339fa
commit
67ff68f7a3
1 changed files with 3 additions and 2 deletions
|
|
@ -13802,9 +13802,10 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
player->itemamount--;
|
player->itemamount--;
|
||||||
if (player->throwdir > 0)
|
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_ThrowLandMine(player);
|
||||||
}
|
}
|
||||||
K_PlayAttackTaunt(player->mo);
|
K_PlayAttackTaunt(player->mo);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue