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