diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 05:42:26 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 05:42:26 +0000 |
commit | b82691d524fa9149dd298c505723f79cefcd3851 (patch) | |
tree | 5b0295478b0e0a9d8c169017180509bdba4b3fb2 /src/gui | |
parent | 0c63ec59f1dcd5ebb772bb8727cbd56886e78b36 (diff) | |
download | mana-b82691d524fa9149dd298c505723f79cefcd3851.tar.gz mana-b82691d524fa9149dd298c505723f79cefcd3851.tar.bz2 mana-b82691d524fa9149dd298c505723f79cefcd3851.tar.xz mana-b82691d524fa9149dd298c505723f79cefcd3851.zip |
*** empty log message ***
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/login.cpp | 4 | ||||
-rw-r--r-- | src/gui/login.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index 252d9929..313ea516 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -147,8 +147,8 @@ void server_login(const std::string& user, const std::string& pass) { // Connect to login server ret = open_session( - get_config_string("server", "host", 0), - get_config_int("server", "port", 0)); + config.getValue("host", "animesites.de").c_str(), + (short)config.getValue("port", 0)); if (ret == SOCKET_ERROR) { state = LOGIN; diff --git a/src/gui/login.h b/src/gui/login.h index 884b0fd0..fba708c2 100644 --- a/src/gui/login.h +++ b/src/gui/login.h @@ -20,7 +20,7 @@ */ #ifndef _TMW_LOGIN_H -#define _TMW_LOGIN_H +#define _TMW_LOGIN_H #ifdef WIN32 #pragma warning (disable:4312) @@ -36,6 +36,8 @@ #include <winalleg.h> #endif +extern Configuration config; + /** * The login dialog. * |