Changeset 7283 in orxonox.OLD for trunk/src/story_entities/campaign.cc
- Timestamp:
- Apr 13, 2006, 7:15:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/campaign.cc
r7193 r7283 79 79 PRINTF(2)("Starting Campaign nr. %i\n", this->getStoryID()); 80 80 81 this-> isRunning = true;81 this->bRunning = true; 82 82 this->bReturnToMenu = false; 83 83 this->run(); … … 90 90 bool Campaign::pause() 91 91 { 92 this-> isPaused = true;92 this->bPaused = true; 93 93 } 94 94 … … 100 100 { 101 101 PRINTF(4)("Resuming the current Campaign\n"); 102 this-> isPaused = false;102 this->bPaused = false; 103 103 } 104 104 … … 113 113 this->bReturnToMenu = true; 114 114 else 115 this-> isRunning = false; // fast exit115 this->bRunning = false; // fast exit 116 116 if( this->currentEntity != NULL) 117 117 { … … 129 129 int storyID = WORLD_ID_0; 130 130 131 for( this->currentEntity = this->campaignData->getFirstLevel(), this-> isRunning = true;132 this->currentEntity != NULL && this-> isRunning;131 for( this->currentEntity = this->campaignData->getFirstLevel(), this->bRunning = true; 132 this->currentEntity != NULL && this->bRunning; 133 133 this->currentEntity = this->campaignData->getNextLevel()) 134 134 {
Note: See TracChangeset
for help on using the changeset viewer.