Changeset 4816 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Jul 7, 2005, 4:24:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/loading/game_loader.cc
r4739 r4816 49 49 \brief simple deconstructor 50 50 */ 51 GameLoader::~GameLoader () {} 51 GameLoader::~GameLoader () 52 { 53 if( this->currentCampaign) 54 delete this->currentCampaign; 55 this->currentCampaign = NULL; 56 } 52 57 53 58 … … 97 102 delete campaignName; 98 103 } 99 World* world0 = new World(DEBUG_WORLD_0);100 world0->setNextStoryID(WORLD_ID_GAMEEND);101 this->currentCampaign->addEntity(world0, WORLD_ID_2);104 // World* world0 = new World(DEBUG_WORLD_0); 105 // world0->setNextStoryID(WORLD_ID_GAMEEND); 106 // this->currentCampaign->addEntity(world0, WORLD_ID_2); 102 107 } 103 108 … … 165 170 if(this->currentCampaign != NULL) 166 171 this->currentCampaign->stop(); 167 this->currentCampaign = NULL;168 172 } 169 173
Note: See TracChangeset
for help on using the changeset viewer.