This commit is contained in:
Paul 2001-04-18 22:39:51 +00:00
parent 98c55b14f4
commit bfeef1bce5
4 changed files with 1 additions and 14 deletions

View File

@ -112,6 +112,7 @@ DVECTOR CBalloonPickup::getSizeForPlacement()
void CBalloonPickup::collect(class CPlayer *_player)
{
_player->setMode(PLAYER_MODE_BALLOON);
CSoundMediator::playSfx(CSoundMediator::SFX_BALLOON_INFLATE);
CBaseRespawningPickup::collect(_player);
}

View File

@ -72,18 +72,6 @@ static PlayerMetrics s_playerMetrics=
} };
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
void CPlayerModeBalloon::enter()
{
CPlayerModeBase::enter();
CSoundMediator::playSfx(CSoundMediator::SFX_BALLOON_INFLATE);
}
/*----------------------------------------------------------------------
Function:
Purpose:

View File

@ -37,7 +37,6 @@
class CPlayerModeBalloon : public CPlayerModeBase
{
public:
virtual void enter();
virtual void think();
virtual void render(DVECTOR *_pos);

View File

@ -442,7 +442,6 @@ void CPlayerModeBase::playerHasHitGround()
setState(STATE_HITGROUND);
m_player->takeDamage(DAMAGE__FALL);
m_moveVelocity.vx=0;
CSoundMediator::playSfx(CSoundMediator::SFX_SPONGEBOB_LAND_AFTER_FALL);
}
else if(m_moveVelocity.vx)
{