QTfrontend/newnetclient.cpp
changeset 1591 1db9b654f880
parent 1587 b8a3d449bed7
child 1592 5ee77ee470a6
--- a/QTfrontend/newnetclient.cpp	Tue Jan 06 17:37:18 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Tue Jan 06 17:51:39 2009 +0000
@@ -190,7 +190,7 @@
 
 void HWNewNet::ParseCmd(const QStringList & lst)
 {
-//	qDebug() << "Server: " << lst;
+	qDebug() << "Server: " << lst;
 
 	if(!lst.size())
 	{
@@ -293,6 +293,7 @@
 		emit setReadyStatus(lst[1], true);
 		return;
 	}
+	
 	if (lst[0] == "NOT_READY") {
 		if(lst.size() != 2)
 		{
@@ -382,6 +383,16 @@
 		return;
 	}
 
+	if(lst[0] == "ROOM") {
+		if(lst.size() < 2)
+		{
+			qWarning("Net: Bad ROOM message");
+			return;
+		}
+		RawSendNet(QString("LIST"));
+		return;
+	}
+
 	if(lst[0] == "LOBBY:LEFT") {
 		if(lst.size() < 2)
 		{