This commit is contained in:
parent
0dfd1948fb
commit
ecc4e806c3
2 changed files with 3 additions and 2 deletions
|
@ -119,14 +119,14 @@ void CNpcBranchPlatform::processMovement( int _frames )
|
||||||
|
|
||||||
if ( m_reversed )
|
if ( m_reversed )
|
||||||
{
|
{
|
||||||
if ( m_angularVelocity > 8 && newAngle < -20 )
|
if ( m_angularVelocity > 6 && newAngle < -20 )
|
||||||
{
|
{
|
||||||
player->springPlayerUp();
|
player->springPlayerUp();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( m_angularVelocity < -8 && newAngle > 20 )
|
if ( m_angularVelocity < -6 && newAngle > 20 )
|
||||||
{
|
{
|
||||||
player->springPlayerUp();
|
player->springPlayerUp();
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ class CNpcBranchPlatform : public CNpcPlatform
|
||||||
public:
|
public:
|
||||||
virtual void postInit();
|
virtual void postInit();
|
||||||
virtual void render();
|
virtual void render();
|
||||||
|
virtual CRECT const *getThinkBBox() {return( &getCollisionArea() );}
|
||||||
protected:
|
protected:
|
||||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||||
virtual void processMovement( int _frames );
|
virtual void processMovement( int _frames );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue