summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server')
-rw-r--r--src/game-server/being.cpp4
-rw-r--r--src/game-server/main-game.cpp3
2 files changed, 5 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 &currentPos, 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 &currentPos, 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);
diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp
index 182e4593..682148b3 100644
--- a/src/game-server/main-game.cpp
+++ b/src/game-server/main-game.cpp
@@ -368,6 +368,9 @@ int main(int argc, char *argv[])
#else
LOG_INFO("The Mana Game Server (unknown version)");
#endif
+ LOG_INFO("Manaserv Protocol version " << ManaServ::PROTOCOL_VERSION
+ << ", " << "Enet version " << ENET_VERSION_MAJOR << "."
+ << ENET_VERSION_MINOR << "." << ENET_VERSION_PATCH);
if (!options.verbosityChanged)
options.verbosity = static_cast<Logger::Level>(