This commit is contained in:
Paul 2001-05-01 18:39:41 +00:00
parent a882d0a177
commit dddd2028f8
13 changed files with 58 additions and 6 deletions

View file

@ -19,6 +19,15 @@
#include "utils\utils.h"
#endif
#ifndef __GAME_GAME_H__
#include "game\game.h"
#endif
#ifndef __PLAYER_PLAYER_H__
#include "player\player.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcBranchPlatform::postInit()
@ -77,6 +86,7 @@ void CNpcBranchPlatform::processMovement( int _frames )
if ( ( m_reversed && newAngle < -256 ) || newAngle > 256 )
{
// flick player upwards
GameScene.getPlayer()->springPlayerUp();
}
s16 angularForce = 3 * _frames;