--------------------------------------------- RESTART GAME -----------------------------------------------
| 568 | } |
| 569 | //--------------------------------------------- RESTART GAME ----------------------------------------------- |
| 570 | void GameImpl::restartGame() |
| 571 | { |
| 572 | // Restarts the current match |
| 573 | // Does not work on Battle.net |
| 574 | if ( this->isMultiplayer() ) |
| 575 | { |
| 576 | this->setLastError(Errors::Invalid_Parameter); |
| 577 | return; |
| 578 | } |
| 579 | |
| 580 | this->setLastError(); |
| 581 | QUEUE_COMMAND(BW::Orders::RestartGame); |
| 582 | } |
| 583 | //--------------------------------------------- SET ALLIANCE ----------------------------------------------- |
| 584 | bool GameImpl::setAlliance(BWAPI::Player player, bool allied, bool alliedVictory) |
| 585 | { |
no test coverage detected