Changeset 10575 for code/branches/core7/src/orxonox/Level.cc
- Timestamp:
- Sep 9, 2015, 2:02:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/orxonox/Level.cc
r10573 r10575 122 122 123 123 Gametype* rootgametype = orxonox_cast<Gametype*>(identifier->fabricate(this)); 124 124 125 rootgametype->setLevel(NULL); // avoid circular references 125 126 this->setGametype(rootgametype); 127 rootgametype->init(); // call init() AFTER the gametype was set 126 128 127 129 if (LevelManager::exists())
Note: See TracChangeset
for help on using the changeset viewer.