QTfrontend/game.cpp
changeset 142 1ff0b02fe367
parent 141 ac3680be1f4b
child 148 c0355acf07c8
--- 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);