--- a/QTfrontend/game.cpp Thu Sep 21 11:35:20 2006 +0000
+++ b/QTfrontend/game.cpp Thu Sep 21 17:57:35 2006 +0000
@@ -73,7 +73,7 @@
void HWGame::ClientDisconnect()
{
- SaveDemo(cfgdir->absolutePath() + "/Demos/demo.hwd_1");
+ SaveDemo(cfgdir->absolutePath() + "/Demos/LastRound.hwd_1");
IPCSocket->deleteLater();
IPCSocket = 0;
deleteLater();
@@ -277,6 +277,9 @@
void HWGame::SaveDemo(const QString & filename)
{
+ demo->replace(QByteArray("\x02TL"), QByteArray("\x02TD"));
+ demo->replace(QByteArray("\x02TN"), QByteArray("\x02TD"));
+
QFile demofile(filename);
if (!demofile.open(QIODevice::WriteOnly))
{