Ballhog bugfixes

This commit is contained in:
Antonio Martinez 2025-07-31 21:02:58 -04:00
parent 9784fd6d97
commit 98f385049d
2 changed files with 5 additions and 0 deletions

View file

@ -75,6 +75,9 @@ boolean K_BananaBallhogCollide(mobj_t *t1, mobj_t *t2)
if (t1->type == MT_BALLHOGBOOM && t2->type == MT_BALLHOGBOOM)
return true; // Ballhogs don't collide with eachother
if (t1->type == MT_BALLHOGBOOM && t2->type == MT_PLAYER && t1->target == t2 )
return true; // Allied hog explosion, not snatchable but shouldn't damage
if (K_TryPickMeUp(t1, t2, false))
return true;

View file

@ -14813,6 +14813,8 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
}
player->ballhogcharge = 0;
player->ballhogburst = 0;
S_StopSoundByID(player->mo, sfx_gshda);
player->itemflags &= ~IF_HOLDREADY;
player->botvars.itemconfirm = 0;
}