---------------------------------------------- LEAVE GAME ------------------------------------------------
| 558 | } |
| 559 | //---------------------------------------------- LEAVE GAME ------------------------------------------------ |
| 560 | void GameImpl::leaveGame() |
| 561 | { |
| 562 | // Leaves the current game. Moves directly to the post-game score screen |
| 563 | this->setLastError(); |
| 564 | if ( !this->tournamentCheck(Tournament::LeaveGame) ) |
| 565 | return; |
| 566 | BW::BWDATA::GameState = 0; |
| 567 | BW::BWDATA::gwNextGameMode = 6; |
| 568 | } |
| 569 | //--------------------------------------------- RESTART GAME ----------------------------------------------- |
| 570 | void GameImpl::restartGame() |
| 571 | { |
no test coverage detected