summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-07 02:30:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-07 02:30:02 +0300
commit6f9d0494f09833e29a05a2c06287fbee73cb7421 (patch)
tree67d63fbcab820ac4bab2e6f568ef6af8e79f4e31 /src/client.cpp
parentc9026cc085ee74f76656ac9d930c2e7d262e56a8 (diff)
downloadmv-6f9d0494f09833e29a05a2c06287fbee73cb7421.tar.gz
mv-6f9d0494f09833e29a05a2c06287fbee73cb7421.tar.bz2
mv-6f9d0494f09833e29a05a2c06287fbee73cb7421.tar.xz
mv-6f9d0494f09833e29a05a2c06287fbee73cb7421.zip
Fix autologin from command line.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index eacd52628..677a4c193 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1018,7 +1018,7 @@ int Client::gameExec()
case STATE_CHOOSE_SERVER:
logger->log1("State: CHOOSE SERVER");
- loginData.clear();
+ loginData.clearUpdateHost();
serverVersion = 0;
// Allow changing this using a server choice dialog