- Timestamp:
- Aug 29, 2015, 11:24:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/orxonox/Level.cc
r10562 r10563 49 49 RegisterObject(Level); 50 50 51 this->setLevel(StrongPtr<Level>(this, false)); 51 52 52 53 this->registerVariables(); … … 121 122 122 123 Gametype* rootgametype = orxonox_cast<Gametype*>(identifier->fabricate(this)); 124 rootgametype->setLevel(NULL); // avoid circular references 123 125 this->setGametype(rootgametype); 124 126 … … 134 136 { 135 137 this->objects_.push_back(object); 136 object->setLevel(this);137 138 } 138 139
Note: See TracChangeset
for help on using the changeset viewer.