summaryrefslogtreecommitdiff
path: root/src/game-server/accountconnection.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-05 11:33:40 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-05 11:33:40 -0700
commit4e7791905b426792f70b6c29e74e4f31f2f1f1af (patch)
treecd47f4ec3e210f802089913d9d98d54cdd60fd99 /src/game-server/accountconnection.cpp
parentb7481331c65a08d54d5e2ae286923627195076ce (diff)
downloadmanaserv-4e7791905b426792f70b6c29e74e4f31f2f1f1af.tar.gz
manaserv-4e7791905b426792f70b6c29e74e4f31f2f1f1af.tar.bz2
manaserv-4e7791905b426792f70b6c29e74e4f31f2f1f1af.tar.xz
manaserv-4e7791905b426792f70b6c29e74e4f31f2f1f1af.zip
Fix handeling of GameServer port
Diffstat (limited to 'src/game-server/accountconnection.cpp')
-rw-r--r--src/game-server/accountconnection.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game-server/accountconnection.cpp b/src/game-server/accountconnection.cpp
index 7a221e53..5f6f28fa 100644
--- a/src/game-server/accountconnection.cpp
+++ b/src/game-server/accountconnection.cpp
@@ -47,7 +47,7 @@ AccountConnection::~AccountConnection()
delete mSyncBuffer;
}
-bool AccountConnection::start()
+bool AccountConnection::start(const int gameServerPort)
{
const std::string accountServerAddress =
Configuration::getValue("net_accountServerAddress", "localhost");
@@ -64,8 +64,6 @@ bool AccountConnection::start()
const std::string gameServerAddress =
Configuration::getValue("net_gameServerAddress", "localhost");
- const int gameServerPort =
- Configuration::getValue("net_gameServerPort", DEFAULT_SERVER_PORT + 3);
const std::string password =
Configuration::getValue("net_password", "P@s$w0rd");