summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp2
-rw-r--r--src/gui/serverdialog.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 8d916add..b27caadc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -397,7 +397,7 @@ Client::Client(const Options &options):
mCurrentServer.port = (short) branding.getValue("defaultPort",
DEFAULT_PORT);
mCurrentServer.type = ServerInfo::parseType(
- branding.getValue("defaultServerType", "eathena"));
+ branding.getValue("defaultServerType", "tmwathena"));
}
if (loginData.username.empty() && loginData.remember)
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 0fba5638..c79925b3 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -219,6 +219,8 @@ ServerDialog::ServerDialog(ServerInfo *serverInfo, const std::string &dir):
mTypeListModel = new TypeListModel();
mTypeField = new DropDown(mTypeListModel);
+ mTypeField->setSelected((serverInfo->type == ServerInfo::MANASERV) ?
+ 1 : 0);
mDescription = new Label(std::string());