Changeset 6463 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Jan 10, 2006, 1:56:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.cc
r6459 r6463 478 478 PRINTF(0)("Fabricated %s with id %d\n", s->getClassName(), s->getUniqueID()); 479 479 480 481 if( !strcmp( s->getClassName(), "SkyBox"))482 {483 PRINTF(0)("==> Created the Sky!\n");484 (dynamic_cast<GameWorld*>(State::getCurrentStoryEntity()))->setSky( dynamic_cast<WorldEntity*>(s) );485 }486 // this->sky = dynamic_cast<WorldEntity*>(created);487 if( !strcmp( s->getClassName(), "Terrain"))488 {489 PRINTF(0)("==> Created the Terrain\n");490 // this->terrain = dynamic_cast<Terrain*>(created);491 // CDEngine::getInstance()->setTerrain(terrain);492 }493 494 480 return b; 495 481 }
Note: See TracChangeset
for help on using the changeset viewer.