# HG changeset patch
# User unc0rr
# Date 1197584646 0
# Node ID e58a775568789e26ead3a6312ca00b9464d37aa1
# Parent  1019b8fa86387b987254633bdfe3901d0a8917eb
 - 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)

diff -r 1019b8fa8638 -r e58a77556878 QTfrontend/newnetclient.cpp
--- 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()