--- a/QTfrontend/hwform.cpp Mon Jan 10 15:53:49 2011 +0300
+++ b/QTfrontend/hwform.cpp Mon Jan 10 18:20:58 2011 +0300
@@ -545,7 +545,7 @@
GoBack();
if (curid == ID_PAGE_ROOMSLIST) NetDisconnect();
- if (curid == ID_PAGE_NETGAME) hwnet->partRoom();
+ if (curid == ID_PAGE_NETGAME && hwnet) hwnet->partRoom();
// need to work on this, can cause invalid state for admin quit trying to prevent bad state message on kick
//if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom();