--- a/QTfrontend/game.cpp Sun Nov 09 09:49:06 2008 +0000
+++ b/QTfrontend/game.cpp Sun Nov 09 12:35:54 2008 +0000
@@ -48,6 +48,7 @@
void HWGame::onClientDisconnect()
{
switch (gameType) {
+ case gtDemo: break;
case gtNet:
emit HaveRecord(true, demo);
break;
--- a/QTfrontend/hwform.cpp Sun Nov 09 09:49:06 2008 +0000
+++ b/QTfrontend/hwform.cpp Sun Nov 09 12:35:54 2008 +0000
@@ -699,7 +699,7 @@
QByteArray demo = record;
QString recordFileName =
config->appendDateTimeToRecordName() ?
- QDateTime::currentDateTime().toString(Qt::ISODate)
+ QDateTime::currentDateTime().toString(Qt::ISODate) :
"LastRound";
if (isDemo)