mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Prevent kevlar.wav from overwriting gunpickup2.wav sound (#186)
This commit is contained in:
parent
bf4ec67a6f
commit
168838cd2a
@ -1416,7 +1416,11 @@ void BuyItem(CBasePlayer *pPlayer, int iSlot)
|
||||
pPlayer->pev->body = 1;
|
||||
pPlayer->AddAccount(-DEFUSEKIT_PRICE, RT_PLAYER_BOUGHT_SOMETHING);
|
||||
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
EMIT_SOUND(ENT(pPlayer->pev), CHAN_VOICE, "items/kevlar.wav", VOL_NORM, ATTN_NORM);
|
||||
#else
|
||||
EMIT_SOUND(ENT(pPlayer->pev), CHAN_ITEM, "items/kevlar.wav", VOL_NORM, ATTN_NORM);
|
||||
#endif
|
||||
pPlayer->SendItemStatus();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user