Changeset 2168 for code/branches/objecthierarchy/src/orxonox/objects/infos
- Timestamp:
- Nov 9, 2008, 7:11:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/infos/Level.cc
r2112 r2168 40 40 #include "PlayerInfo.h" 41 41 #include "objects/gametypes/Gametype.h" 42 #include "overlays/OverlayGroup.h" 42 43 43 44 #include "util/Math.h" … … 62 63 if (this->isInitialized()) 63 64 { 64 LevelManager::getInstance().releaseActivity(this); 65 if (LevelManager::getInstancePtr()) 66 LevelManager::getInstance().releaseActivity(this); 65 67 66 68 if (this->xmlfile_) … … 93 95 mask.exclude(Class(BaseObject)); 94 96 mask.include(Class(Template)); 97 mask.include(Class(OverlayGroup)); // HACK to include the ChatOverlay 95 98 96 99 this->xmlfile_ = new XMLFile(Settings::getDataPath() + this->xmlfilename_, mask); … … 112 115 (*it)->setGametype(rootgametype); 113 116 114 LevelManager::getInstance().requestActivity(this); 117 if (LevelManager::getInstancePtr()) 118 LevelManager::getInstance().requestActivity(this); 115 119 } 116 120 }
Note: See TracChangeset
for help on using the changeset viewer.