QTfrontend/game.cpp
changeset 686 494b5880989a
parent 682 a37b6966de84
child 706 9e973b057a52
--- a/QTfrontend/game.cpp	Wed Dec 26 21:08:25 2007 +0000
+++ b/QTfrontend/game.cpp	Wed Dec 26 22:16:22 2007 +0000
@@ -16,14 +16,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
-#include <QMessageBox>
-#include <QProcess>
-#include <QTimer>
 #include <QString>
 #include <QByteArray>
-#include <QFile>
-#include <QTextStream>
-#include <QApplication>
 
 #include "game.h"
 #include "hwconsts.h"
@@ -46,6 +40,7 @@
 
 HWGame::~HWGame()
 {
+	SetGameState(gsDestroyed);
 }
 
 void HWGame::onClientDisconnect()