Changeset 3221 in orxonox.OLD for orxonox/trunk/src/campaign.cc
- Timestamp:
- Dec 19, 2004, 10:44:35 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/campaign.cc
r3220 r3221 82 82 printf("World::start() - starting new StoryEntity Nr:%i\n", storyID); 83 83 Error errorCode; 84 if( !this->isInit) return errorCode;85 if( storyID == WORLD_ID_GAMEEND) return errorCode;84 if( !this->isInit) return errorCode; 85 if( storyID == WORLD_ID_GAMEEND) return errorCode; 86 86 this->running = true; 87 87 StoryEntity* se = this->getStoryEntity(storyID); 88 88 this->currentEntity = se; 89 while( se != NULL && this->running)89 while( se != NULL && this->running) 90 90 { 91 //se = this->getStoryEntity(storyID);92 93 94 91 se->displayLoadScreen(); 95 92 se->load(); … … 97 94 se->releaseLoadScreen(); 98 95 se->start(); 99 96 se->destroy(); 97 100 98 delete se; 101 99
Note: See TracChangeset
for help on using the changeset viewer.