diff options
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r-- | src/game-server/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp index 567e19a3..f707198b 100644 --- a/src/game-server/being.cpp +++ b/src/game-server/being.cpp @@ -266,7 +266,7 @@ void Being::updateDirection(const Point ¤tPos, const Point &destPos) { // Compute tan of the angle if ((currentPos.y - destPos.y) / (currentPos.x - destPos.x) < 1) - // The angle is less than 45°, we look to the right + // The angle is less than 45°, we look to the left setDirection(LEFT); else setDirection(UP); @@ -276,7 +276,7 @@ void Being::updateDirection(const Point ¤tPos, const Point &destPos) { // Compute tan of the angle if ((destPos.y - currentPos.y) / (currentPos.x - destPos.x) < 1) - // The angle is less than 45°, we look to the right + // The angle is less than 45°, we look to the left setDirection(LEFT); else setDirection(DOWN); |