QTfrontend/game.cpp
changeset 36 a803a00a3272
parent 32 78bff13b11c0
child 40 416d54ce0c34
--- a/QTfrontend/game.cpp	Sat Dec 31 13:45:09 2005 +0000
+++ b/QTfrontend/game.cpp	Sat Dec 31 13:46:49 2005 +0000
@@ -142,6 +142,11 @@
 		}
 		case '+':
 		{
+			if (gameType == gtNet)
+			{
+				QByteArray tmpbuf = QByteArray::fromRawData((char *)&msgsize, 1) + QByteArray::fromRawData(msgbuf, msgsize);
+				emit SendNet(tmpbuf);
+			}
 			break;
 		}
 		default: