------------------------------------------- GET PLAYER INTERNAL ------------------------------------------
| 261 | } |
| 262 | //------------------------------------------- GET PLAYER INTERNAL ------------------------------------------ |
| 263 | PlayerImpl *GameImpl::_getPlayer(int id) |
| 264 | { |
| 265 | if (id < 0 || id >= BW::PLAYER_COUNT) |
| 266 | return players[BW::PLAYER_COUNT - 1]; |
| 267 | return players[id]; |
| 268 | } |
| 269 | int GameImpl::_currentPlayerId() |
| 270 | { |
| 271 | return BW::BWDATA::g_LocalHumanID; |
no outgoing calls
no test coverage detected