QTfrontend/hwform.cpp
changeset 5865 35387d27f73a
parent 5849 b84b41aba275
child 5907 64ccc6be0ec5
--- a/QTfrontend/hwform.cpp	Sun Sep 11 13:21:50 2011 -0400
+++ b/QTfrontend/hwform.cpp	Sun Sep 11 21:45:28 2011 +0400
@@ -731,7 +731,7 @@
         return;
     }
     CreateGame(0, 0, 0);
-    game->PlayDemo(curritem->data(Qt::UserRole).toString());
+    game->PlayDemo(curritem->data(Qt::UserRole).toString(), ui.pagePlayDemo->isSave());
 }
 
 void HWForm::PlayDemoQuick(const QString & demofilename)
@@ -740,7 +740,7 @@
     GoBack(); //needed to cleanly disconnect from netgame
     GoToPage(ID_PAGE_MAIN);
     CreateGame(0, 0, 0);
-    game->PlayDemo(demofilename);
+    game->PlayDemo(demofilename, false);
 }
 
 void HWForm::NetConnectServer(const QString & host, quint16 port)