This commit is contained in:
parent
a08faa9f2e
commit
48b0154adc
2 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,7 @@ DVECTOR CGlassesPickup::getSizeForPlacement()
|
|||
void CGlassesPickup::collect(class CPlayer *_player)
|
||||
{
|
||||
_player->giveGlasses();
|
||||
CSoundMediator::playSfx(CSoundMediator::SFX_GLASSES_ON);
|
||||
CBasePickup::collect(_player);
|
||||
}
|
||||
|
||||
|
|
|
@ -80,6 +80,7 @@ void CHelmetPickup::collect(class CPlayer *_player)
|
|||
{
|
||||
_player->giveDivingHelmet();
|
||||
CBasePickup::collect(_player);
|
||||
CSoundMediator::playSfx(CSoundMediator::SFX_SPONGEBOB_DIVING_HELMET);
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue