This commit is contained in:
Paul 2001-02-01 17:01:12 +00:00
parent 7305dd575f
commit 499849fae1
6 changed files with 91 additions and 15 deletions

View file

@ -27,6 +27,10 @@
#include "pad\pads.h"
#endif
#ifndef __SOUND_SOUND_H__
#include "sound\sound.h"
#endif
/* Std Lib
------- */
@ -72,6 +76,8 @@ void CPlayerStateJump::enter(CPlayer *_player)
DVECTOR move=getMoveVelocity(_player);
move.vy=-metrics->m_metric[PM__JUMP_VELOCITY]<<CPlayer::VELOCITY_SHIFT;
setMoveVelocity(_player,&move);
CSoundMediator::playSfx(CSoundMediator::SFX_SPONGEBOB_JUMP);
}