summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-15 16:21:04 -0600
committerJared Adams <jaxad0127@gmail.com>2010-03-15 19:29:06 -0600
commit0698461bd4001c6a1e3be1d755b3ebbafe229d42 (patch)
treef4e7767d141c0dc91ff4277174e3200782d4c7d4 /src/client.cpp
parent7229426c63ce7bd40f509c26b4bdf4c12a5ba5f2 (diff)
downloadmana-0698461bd4001c6a1e3be1d755b3ebbafe229d42.tar.gz
mana-0698461bd4001c6a1e3be1d755b3ebbafe229d42.tar.bz2
mana-0698461bd4001c6a1e3be1d755b3ebbafe229d42.tar.xz
mana-0698461bd4001c6a1e3be1d755b3ebbafe229d42.zip
Fix some branding issues
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 2a996c26..ad9a560b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -394,6 +394,8 @@ Client::Client(const Options &options):
{
mCurrentServer.port = (short) branding.getValue("defaultPort",
DEFAULT_PORT);
+ mCurrentServer.type = ServerInfo::parseType(
+ branding.getValue("defaultServerType", "eathena"));
}
if (loginData.username.empty() && loginData.remember)
loginData.username = config.getValue("username", "");