Changeset 4919 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jul 21, 2005, 12:49:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4918 r4919 377 377 // if we load a 'Player' we use it as localPlayer 378 378 //todo do this more elegant 379 if( element->Value() != NULL && !strcmp( element->Value(), "Player")) localPlayer = (Player*) created; 379 if( element->Value() != NULL && !strcmp( element->Value(), "Player")) 380 { 381 localPlayer = (Player*) created; 382 CDEngine::getInstance()->setPlayer(localPlayer); 383 } 380 384 if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox")) sky = (SkyBox*) created; 381 385 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain"))
Note: See TracChangeset
for help on using the changeset viewer.