Fix "try again" button in "reconnected to fast" dialog trying to connect to port 0
authorunc0rr
Tue, 28 May 2013 00:01:58 +0400
changeset 9063 5cab446e1341
parent 9062 a65492ca1587
child 9064 041d9f5e7b2c
Fix "try again" button in "reconnected to fast" dialog trying to connect to port 0
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Mon May 27 23:54:52 2013 +0400
+++ b/QTfrontend/hwform.cpp	Tue May 28 00:01:58 2013 +0400
@@ -1540,7 +1540,7 @@
         if (retry) {
             if (hwnet->m_private_game) {
                 QStringList list = hwnet->getHost().split(":");
-                NetConnectServer(list.at(0), list.at(1).toShort());
+                NetConnectServer(list.at(0), list.at(1).toUInt());
             } else
                 NetConnectOfficialServer();
         }