QTfrontend/game.cpp
changeset 379 e4cd3cd209c6
parent 352 4665bfe25470
child 395 641ed71c7c93
--- a/QTfrontend/game.cpp	Fri Feb 02 21:04:36 2007 +0000
+++ b/QTfrontend/game.cpp	Sat Feb 03 00:04:52 2007 +0000
@@ -260,6 +260,7 @@
 	stream.writeRawData(demo->constData(), demo->size());
 	demofile.close();
 	delete demo;
+	demo=0;
 }
 
 void HWGame::PlayDemo(const QString & demofilename)