From 4e7791905b426792f70b6c29e74e4f31f2f1f1af Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 5 Nov 2009 11:33:40 -0700 Subject: Fix handeling of GameServer port --- src/game-server/accountconnection.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/game-server/accountconnection.cpp') 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"); -- cgit v1.2.3-70-g09d2