This commit is contained in:
parent
55e36f25d3
commit
7a43d05c5f
9 changed files with 15 additions and 23 deletions
|
@ -162,14 +162,6 @@ void CNpcSmallJellyfishBackgroundEnemy::processMovement( int _frames )
|
|||
}*/
|
||||
|
||||
processMovementModifier( _frames, moveX, moveY, moveVel, moveDist );
|
||||
|
||||
CLevel &level = GameScene.GetLevel();
|
||||
DVECTOR const &MapSize=level.getMapSize16();
|
||||
if ( Pos.vx < 0 || Pos.vx >= MapSize.vx ||
|
||||
Pos.vy < 0 || Pos.vy >= MapSize.vy )
|
||||
{
|
||||
setToShutdown();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue