| 659 | } |
| 660 | } |
| 661 | void GameImpl::setFrameSkip(int frameSkip) |
| 662 | { |
| 663 | setLastError(Errors::None); |
| 664 | if ( !this->tournamentCheck(Tournament::SetFrameSkip, &frameSkip) ) |
| 665 | return; |
| 666 | |
| 667 | if ( frameSkip > 0 ) |
| 668 | { |
| 669 | BW::BWDATA::FrameSkip = frameSkip; |
| 670 | return; |
| 671 | } |
| 672 | setLastError(Errors::Invalid_Parameter); |
| 673 | } |
| 674 | //------------------------------------------ ISSUE COMMAND ------------------------------------------------- |
| 675 | bool GameImpl::issueCommand(const Unitset& units, UnitCommand command) |
| 676 | { |