This commit is contained in:
parent
1da64afa81
commit
c7fe8c740b
70 changed files with 302 additions and 445 deletions
|
@ -59,7 +59,7 @@ void CNpcGhostTrainPlatform::processMovement( int _frames )
|
|||
CPlayer *player = GameScene.getPlayer();
|
||||
|
||||
DVECTOR newPos = Pos;
|
||||
CRECT collisionArea=getCollisionArea();
|
||||
CRECT const &collisionArea=getCollisionArea();
|
||||
newPos.vy = collisionArea.y1;
|
||||
|
||||
player->setPos( newPos );
|
||||
|
@ -82,7 +82,7 @@ void CNpcGhostTrainPlatform::processMovement( int _frames )
|
|||
|
||||
Pos.vy += moveY;
|
||||
|
||||
DVECTOR offset = CLevel::getCameraPos();
|
||||
DVECTOR const &offset = CLevel::getCameraPos();
|
||||
|
||||
s32 yPos = Pos.vy - offset.vy;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue