--- 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;
}