--- a/QTfrontend/newnetclient.cpp Fri Jan 02 13:00:46 2009 +0000
+++ b/QTfrontend/newnetclient.cpp Fri Jan 02 14:10:23 2009 +0000
@@ -450,7 +450,7 @@
}
for(int i = 1; i < lst.size(); ++i)
{
- QByteArray em = QByteArray::fromBase64(lst[1].toAscii());
+ QByteArray em = QByteArray::fromBase64(lst[i].toAscii());
emit FromNet(em);
}
return;
--- a/netserver/HWProto.hs Fri Jan 02 13:00:46 2009 +0000
+++ b/netserver/HWProto.hs Fri Jan 02 14:10:23 2009 +0000
@@ -201,7 +201,7 @@
watchRound = if (roomProto clRoom < 20) || (not $ gameinprogress clRoom) then
[]
else
- answerRunGame ++ answerClientOnly ("GAMEMSG" : roundMsgs clRoom)
+ (answerClientOnly ["RUN_GAME"]) ++ answerClientOnly ("GAMEMSG" : roundMsgs clRoom)
handleCmd_noRoom client clients rooms ["JOIN", roomName] =
handleCmd_noRoom client clients rooms ["JOIN", roomName, ""]