author | unc0rr |
Mon, 11 Sep 2006 18:27:49 +0000 | |
changeset 142 | 1ff0b02fe367 |
parent 141 | ac3680be1f4b |
child 143 | 3dacbd83209b |
--- a/QTfrontend/game.cpp Sat Sep 09 17:59:25 2006 +0000 +++ b/QTfrontend/game.cpp Mon Sep 11 18:27:49 2006 +0000 @@ -135,9 +135,12 @@ } case 'C': { switch (gameType) { - case gtLocal: + case gtLocal: { + SendConfig(); + break; + } case gtQLocal: { - SendConfig(); + SendQuickConfig(); break; } case gtDemo: break; @@ -305,7 +308,7 @@ // read demo QDataStream stream(&demofile); char buf[512]; - quint32 readbytes; + int readbytes; do { readbytes = stream.readRawData((char *)&buf, 512);