This commit is contained in:
parent
7b2b54629b
commit
1e0eb2bdb2
3 changed files with 8 additions and 6 deletions
|
@ -166,7 +166,8 @@ void CNpcStaticClamEnemy::postInit()
|
||||||
platform->setGraphic( (u8) 0 );
|
platform->setGraphic( (u8) 0 );
|
||||||
platform->init( Pos );
|
platform->init( Pos );
|
||||||
platform->setTiltable( false );
|
platform->setTiltable( false );
|
||||||
platform->setBBox();
|
//platform->setBBox();
|
||||||
|
platform->postInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CNpcStaticClamEnemy::processClose( int _frames )
|
void CNpcStaticClamEnemy::processClose( int _frames )
|
||||||
|
|
|
@ -33,8 +33,9 @@ void CNpcClamPlatform::render()
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
void CNpcClamPlatform::setBBox()
|
/*void CNpcClamPlatform::setBBox()
|
||||||
{
|
{
|
||||||
setCollisionSize( 54, PLATFORMCOLLISIONHEIGHT);
|
//setCollisionSize( 54, PLATFORMCOLLISIONHEIGHT);
|
||||||
setCollisionCentreOffset( 0, -30 );
|
//setCollisionSize( 54, 10 );
|
||||||
}
|
setCollisionCentreOffset( 50, -100 );
|
||||||
|
}*/
|
|
@ -22,7 +22,7 @@ class CNpcClamPlatform : public CNpcPlatform
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual void render();
|
virtual void render();
|
||||||
void setBBox();
|
//void setBBox();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Add table
Reference in a new issue