use the added sounds

This commit is contained in:
minenice55 2026-02-20 01:23:14 -05:00
parent 6fb8ddf82e
commit d031a9a3e7
3 changed files with 8 additions and 2 deletions

View file

@ -93,7 +93,7 @@
#define ASSET_HASH_TEXTURES_KART 0xb4211b2f32b6a291
#define ASSET_HASH_CHARS_KART 0x1e68a3e01aa5c68b
#define ASSET_HASH_MAPS_KART 0x38558ed00da41ce9
#define ASSET_HASH_MAIN_PK3 0xce475f7ed71f6667
#define ASSET_HASH_MAIN_PK3 0xd9e606e74d2d9012
#define ASSET_HASH_MAPPATCH_PK3 0x1745690024efbaf8
#define ASSET_HASH_BONUSCHARS_KART 0x60e6f13d822a7461
#ifdef USE_PATCH_FILE

View file

@ -1023,3 +1023,8 @@ _(horn00)
// Fastfall bounce
_(vclgna)
// Items
// Egg mine
_(bckuse)
_(egrbhe)

View file

@ -2584,6 +2584,7 @@ void K_PlayerItemThink(player_t *player, boolean onground)
if (ATTACK_IS_DOWN && !HOLDING_ITEM && NO_HYUDORO
&& !player->bricktimer)
{
S_StartSound(player->mo, sfx_egrbhe);
player->bricktimer = stealtime;
player->itemamount--;
K_BotResetItemConfirm(player, false);
@ -2662,7 +2663,7 @@ void K_DoEggMineStrip(mobj_t *tmo, mobj_t *inflictor, mobj_t *source)
{
if (tmo->player && P_CanPickupItem(tmo->player, PICKUPITEM_EGGMAN))
{
S_StartSound(tmo, sfx_bewar3);
S_StartSound(tmo, sfx_egrbhe);
K_DropItems(tmo->player);
if (cv_karteggmine_slotlock.value)