This commit is contained in:
Charles 2001-05-25 21:05:04 +00:00
parent eb5e00a0a7
commit d4ad696784

View file

@ -28,6 +28,8 @@
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcBouncePlatform::postInit()
{
CNpcPlatform::postInit();
@ -44,12 +46,9 @@ void CNpcBouncePlatform::think( int _frames )
{
CPlayer *player = GameScene.getPlayer();
if ( m_vertVelocity > 20 && m_vertScale < -100 )
{
player->springPlayerUp();
}
player->springPlayerUp();
s16 vertForce = -30 * _frames;
s16 vertForce = -180 * _frames;
m_vertVelocity += vertForce;