This commit is contained in:
parent
5b785068c2
commit
fa5105d783
96 changed files with 550 additions and 406 deletions
|
@ -19,6 +19,8 @@
|
|||
#include "level\layercollision.h"
|
||||
#endif
|
||||
|
||||
#include "game\game.h"
|
||||
|
||||
void CNpcMasherHazard::init()
|
||||
{
|
||||
CNpcHazard::init();
|
||||
|
@ -36,7 +38,7 @@ void CNpcMasherHazard::processMovement( int _frames )
|
|||
|
||||
s8 groundHeight;
|
||||
|
||||
groundHeight = m_layerCollision->getHeightFromGround( Pos.vx, Pos.vy, yMovement + 16 );
|
||||
groundHeight = CGameScene::getCollision()->getHeightFromGround( Pos.vx, Pos.vy, yMovement + 16 );
|
||||
|
||||
if ( groundHeight < yMovement )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue