This commit is contained in:
parent
1da64afa81
commit
c7fe8c740b
70 changed files with 302 additions and 445 deletions
|
@ -158,7 +158,7 @@ void CNpcSharkManEnemy::processClose( int _frames )
|
|||
newPos.vy -= 50;
|
||||
|
||||
CPlayer *player = GameScene.getPlayer();
|
||||
DVECTOR playerPos = player->getPos();
|
||||
DVECTOR const &playerPos = player->getPos();
|
||||
|
||||
xDist = playerPos.vx - newPos.vx;
|
||||
yDist = playerPos.vy - newPos.vy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue