| 271 | return BW::BWDATA::g_LocalHumanID; |
| 272 | } |
| 273 | bool GameImpl::tournamentCheck(Tournament::ActionID type, void *parameter) |
| 274 | { |
| 275 | if ( this->tournamentController && !isTournamentCall ) |
| 276 | { |
| 277 | isTournamentCall = true; |
| 278 | bool allow = this->tournamentController->onAction(type, parameter); |
| 279 | isTournamentCall = false; |
| 280 | return allow; |
| 281 | } |
| 282 | return true; |
| 283 | } |
| 284 | void GameImpl::initializeData() |
| 285 | { |
| 286 | // Delete forces |
no test coverage detected