This commit is contained in:
parent
1da64afa81
commit
c7fe8c740b
70 changed files with 302 additions and 445 deletions
|
@ -131,7 +131,7 @@ void CNpcEnemy::processGenericGetUserDist( int _frames, s32 *distX, s32 *distY )
|
|||
|
||||
CPlayer *player = GameScene.getPlayer();
|
||||
|
||||
DVECTOR playerPos = player->getPos();
|
||||
DVECTOR const &playerPos = player->getPos();
|
||||
|
||||
*distX = playerPos.vx - this->Pos.vx;
|
||||
*distY = playerPos.vy - this->Pos.vy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue