equal
deleted
inserted
replaced
543 if ((!hwnet) || (!hwnet->isInRoom())) |
543 if ((!hwnet) || (!hwnet->isInRoom())) |
544 if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) |
544 if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) |
545 GoBack(); |
545 GoBack(); |
546 |
546 |
547 if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); |
547 if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); |
548 if (curid == ID_PAGE_NETGAME) hwnet->partRoom(); |
548 if (curid == ID_PAGE_NETGAME && hwnet) hwnet->partRoom(); |
549 // need to work on this, can cause invalid state for admin quit trying to prevent bad state message on kick |
549 // need to work on this, can cause invalid state for admin quit trying to prevent bad state message on kick |
550 //if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom(); |
550 //if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom(); |
551 |
551 |
552 if (curid == ID_PAGE_SCHEME) |
552 if (curid == ID_PAGE_SCHEME) |
553 ammoSchemeModel->Save(); |
553 ammoSchemeModel->Save(); |