diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-02 21:57:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-02 22:00:37 +0300 |
commit | eca890c92d3b43b8aae5f2c53cab49612f5efd1d (patch) | |
tree | 8acbdfe972044adcfbcc5a6bf7ea28b4bbb54382 /src/gui/windows/worldselectdialog.cpp | |
parent | 520a495c466793c29f3e721634dfe6cc616b8ede (diff) | |
download | plus-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.tar.gz plus-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.tar.bz2 plus-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.tar.xz plus-eca890c92d3b43b8aae5f2c53cab49612f5efd1d.zip |
Add option "use same ip" for each server.
By default all servers using same ip for subservers.
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index 5cd0a3b2f..4a70e3750 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -106,7 +106,8 @@ void WorldSelectDialog::action(const ActionEvent &event) { mChangeLoginButton->setEnabled(false); mChooseWorld->setEnabled(false); - Net::getLoginHandler()->chooseServer(mWorldList->getSelected()); + Net::getLoginHandler()->chooseServer(mWorldList->getSelected(), + client->getPersistentIp()); // Check in case netcode moves us forward if (client->getState() == STATE_WORLD_SELECT) |