Changeset 3366 for code/branches/resource/src/core/LuaBind.cc
- Timestamp:
- Jul 29, 2009, 10:27:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/core/LuaBind.cc
r3340 r3366 43 43 namespace orxonox 44 44 { 45 LuaBind* LuaBind::singleton Ref_s = NULL;45 LuaBind* LuaBind::singletonPtr_s = NULL; 46 46 47 47 LuaBind::LuaBind() 48 48 { 49 assert(LuaBind::singletonRef_s == 0);50 LuaBind::singletonRef_s = this;51 52 49 this->includePath_ = Core::getMediaPathString(); 53 50 … … 75 72 { 76 73 this->closeToluaInterfaces(luaState_); 77 78 assert(singletonRef_s);79 LuaBind::singletonRef_s = NULL;80 74 }; 81 75
Note: See TracChangeset
for help on using the changeset viewer.