This commit is contained in:
Paul 2001-03-30 00:41:15 +00:00
parent c4f186b921
commit 99c5ac4f4c

View File

@ -101,6 +101,7 @@ void CPlayerModeBalloon::shutdown()
void CPlayerModeBalloon::enter() void CPlayerModeBalloon::enter()
{ {
CPlayerModeBase::enter(); CPlayerModeBase::enter();
CSoundMediator::playSfx(CSoundMediator::SFX_BALLOON_INFLATE);
m_balloonTimer=BALLOON_TIME; m_balloonTimer=BALLOON_TIME;
} }
@ -116,6 +117,7 @@ void CPlayerModeBalloon::think()
if(--m_balloonTimer==0||getPadInputDown()&PI_ACTION) if(--m_balloonTimer==0||getPadInputDown()&PI_ACTION)
{ {
PAUL_DBGMSG("*pop*"); PAUL_DBGMSG("*pop*");
CSoundMediator::playSfx(CSoundMediator::SFX_BALLOON_POP);
m_player->setMode(PLAYER_MODE_FULLUNARMED); m_player->setMode(PLAYER_MODE_FULLUNARMED);
} }
} }