- Temporary set delimiter to *, as \t seems to be endline now in Qt
- Fix network game: avoid telling server the nick before it actually is set on fast network (found on FreeBSD)
--- a/QTfrontend/newnetclient.cpp Thu Dec 13 21:49:52 2007 +0000
+++ b/QTfrontend/newnetclient.cpp Thu Dec 13 22:24:06 2007 +0000
@@ -25,7 +25,7 @@
#include "gamecfgwidget.h"
#include "teamselect.h"
-char delimeter='\t';
+char delimeter='*';
HWNewNet::HWNewNet(GameUIConfig * config, GameCFGWidget* pGameCFGWidget, TeamSelWidget* pTeamSelWidget) :
config(config),
@@ -43,8 +43,8 @@
void HWNewNet::Connect(const QString & hostName, quint16 port, const QString & nick)
{
+ mynick = nick;
NetSocket.connectToHost(hostName, port);
- mynick = nick;
}
void HWNewNet::Disconnect()