--------------------------------------------------- GAME SPEED -------------------------------------------
| 630 | } |
| 631 | //--------------------------------------------------- GAME SPEED ------------------------------------------- |
| 632 | void GameImpl::setLocalSpeed(int speed) |
| 633 | { |
| 634 | // Sets the frame rate of the client |
| 635 | if (!this->tournamentCheck(Tournament::SetLocalSpeed, &speed) || |
| 636 | this->speedOverride != std::numeric_limits<decltype(this->speedOverride)>::min()) return; |
| 637 | |
| 638 | setLocalSpeedDirect(speed); |
| 639 | } |
| 640 | void GameImpl::setLocalSpeedDirect(int speed) |
| 641 | { |
| 642 | if (speed < 0) |