Changeset 8014 in orxonox.OLD for branches/network/src/story_entities
- Timestamp:
- May 31, 2006, 8:21:07 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/multi_player_world_data.cc
r7984 r8014 45 45 #include "network_manager.h" 46 46 #include "network_game_manager.h" 47 #include "player_stats.h" 47 48 48 49 … … 203 204 this->localPlayer = new Player(); 204 205 206 #if 0 205 207 Playable* playable; 206 208 const std::list<BaseObject*>* playableList = ClassList::getList(CL_PLAYABLE); … … 215 217 playable->setPlayDirection(Quaternion(M_PI, Vector(0.0, 1.0, 0.0))); 216 218 } 219 #endif 217 220 } 218 221 else … … 244 247 245 248 State::setPlayer(this->localPlayer); 249 246 250 } 247 251 … … 265 269 /* call underlying function */ 266 270 GameWorldData::loadScene(root); 271 272 if ( NetworkManager::getInstance()->isGameServer() ) 273 { 274 NetworkGameManager::getInstance()->signalNewPlayer( 0 ); 275 State::getPlayer()->setPlayable( PlayerStats::getStats( 0 )->getPlayable() ); 276 } 267 277 } 268 278
Note: See TracChangeset
for help on using the changeset viewer.