This commit is contained in:
parent
98c55b14f4
commit
bfeef1bce5
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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:
|
||||
|
@ -37,7 +37,6 @@
|
||||
class CPlayerModeBalloon : public CPlayerModeBase
|
||||
{
|
||||
public:
|
||||
virtual void enter();
|
||||
virtual void think();
|
||||
virtual void render(DVECTOR *_pos);
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user