Changeset 5820 for code/branches/core5/src/modules
- Timestamp:
- Sep 28, 2009, 2:55:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/gamestates/GSLevel.cc
r5818 r5820 129 129 // level is loaded: we can start capturing the input 130 130 InputManager::getInstance().enterState("game"); 131 132 // connect the HumanPlayer to the game 133 this->playerManager_->clientConnected(0); 131 134 } 132 135 } … … 177 180 178 181 if (GameMode::showsGraphics()) 182 { 183 // disconnect the HumanPlayer 184 this->playerManager_->clientDisconnected(0); 185 179 186 InputManager::getInstance().leaveState("game"); 187 } 180 188 181 189 if (GameMode::isMaster()) … … 234 242 void GSLevel::unloadLevel() 235 243 { 236 for (ObjectList<HumanPlayer>::iterator it = ObjectList<HumanPlayer>::begin(); it; ++it)237 it->setGametype(0);238 239 244 Loader::unload(startFile_s); 240 245
Note: See TracChangeset
for help on using the changeset viewer.