QTfrontend/newnetclient.cpp
changeset 1558 3370b7ffeb5c
parent 1541 61b3b32aede8
child 1559 71e1f67dcfe7
--- a/QTfrontend/newnetclient.cpp	Fri Jan 02 09:55:17 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Fri Jan 02 13:00:46 2009 +0000
@@ -189,7 +189,7 @@
 
 void HWNewNet::ParseCmd(const QStringList & lst)
 {
-	//qDebug() << "Server: " << lst;
+	qDebug() << "Server: " << lst;
 
 	if(!lst.size())
 	{
@@ -448,8 +448,11 @@
 			qWarning("Net: Bad GAMEMSG message");
 			return;
 		}
-		QByteArray em = QByteArray::fromBase64(lst[1].toAscii());
-		emit FromNet(em);
+		for(int i = 1; i < lst.size(); ++i)
+		{
+			QByteArray em = QByteArray::fromBase64(lst[1].toAscii());
+			emit FromNet(em);
+		}
 		return;
 	}