summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-02 21:57:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-02 22:00:37 +0300
commiteca890c92d3b43b8aae5f2c53cab49612f5efd1d (patch)
tree8acbdfe972044adcfbcc5a6bf7ea28b4bbb54382 /src/client.cpp
parent520a495c466793c29f3e721634dfe6cc616b8ede (diff)
downloadmv-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.tar.gz
mv-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.tar.bz2
mv-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.tar.xz
mv-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.zip
Add option "use same ip" for each server.
By default all servers using same ip for subservers.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 78df4e161..023b17c3f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1328,7 +1328,8 @@ int Client::gameExec()
}
else if (worlds.size() == 1)
{
- Net::getLoginHandler()->chooseServer(0);
+ Net::getLoginHandler()->chooseServer(
+ 0, mCurrentServer.persistentIp);
mState = STATE_UPDATE;
}
else