QTfrontend/game.cpp
changeset 419 fdeed9718e6b
parent 406 ea90c6358054
child 425 a7e1dabc8fb7
equal deleted inserted replaced
418:595a868918be 419:fdeed9718e6b
    42 	this->gamecfg = gamecfg;
    42 	this->gamecfg = gamecfg;
    43 	TeamCount = 0;
    43 	TeamCount = 0;
    44 	seed = "";
    44 	seed = "";
    45 }
    45 }
    46 
    46 
       
    47 HWGame::~HWGame()
       
    48 {
       
    49 }
       
    50 
    47 void HWGame::onClientDisconnect()
    51 void HWGame::onClientDisconnect()
    48 {
    52 {
    49 	SaveDemo(cfgdir->absolutePath() + "/Demos/LastRound.hwd_" + cProtoVer);
    53 	SaveDemo(cfgdir->absolutePath() + "/Demos/LastRound.hwd_" + cProtoVer);
    50 	emit GameStateChanged(gsStopped);
    54 	emit GameStateChanged(gsStopped);
    51 }
    55 }