QTfrontend/game.cpp
changeset 148 c0355acf07c8
parent 142 1ff0b02fe367
child 149 aae256899c49
--- a/QTfrontend/game.cpp	Fri Sep 15 15:45:30 2006 +0000
+++ b/QTfrontend/game.cpp	Fri Sep 15 20:38:25 2006 +0000
@@ -73,7 +73,7 @@
 
 void HWGame::ClientDisconnect()
 {
-	SaveDemo("demo.hwd_1");
+	SaveDemo(cfgdir->absolutePath() + "/Demos/demo.hwd_1");
     IPCSocket->deleteLater();
 	IPCSocket = 0;
 	deleteLater();
@@ -97,7 +97,7 @@
 		LocalCFG(teams[i]);
 		SendIPC(QString("ecolor %1").arg(65535 << i * 8));
 		for (int t = 0; t < hdNum[teams[i]]; t++)
-			SendIPC(QString("eadd hh%1 0").arg(t));
+			SendIPC(QString("eadd hh%1 1").arg(t));
 	}
 }