equal
deleted
inserted
replaced
545 if ((!hwnet) || (!hwnet->isInRoom())) |
545 if ((!hwnet) || (!hwnet->isInRoom())) |
546 if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) |
546 if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) |
547 GoBack(); |
547 GoBack(); |
548 |
548 |
549 if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); |
549 if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); |
550 if (curid == ID_PAGE_NETGAME) 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(); |
554 } |
554 } |
555 |
555 |