Changeset 8289 in orxonox.OLD for branches/script_engine/src/story_entities
- Timestamp:
- Jun 8, 2006, 7:43:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/story_entities/game_world.cc
r8271 r8289 137 137 PhysicsEngine::getInstance(); 138 138 CREngine::getInstance(); 139 140 State::setScriptManager(&this->scriptManager); 141 139 142 } 140 143 … … 146 149 ErrorMessage GameWorld::loadData() 147 150 { 148 this->displayLoadScreen(); 151 this->displayLoadScreen(); State::setScriptManager(&this->scriptManager); 152 149 153 150 154 PRINTF(0)("Loading the GameWorld\n"); … … 189 193 Account *b = new Account(30); 190 194 b->setName("b"); 191 195 printf("ScriptManager created by game world\n"); 192 196 LoadParamXML(root, "ScriptManager", &this->scriptManager, ScriptManager, loadParams); 193 197 … … 229 233 this->bRunning = true; 230 234 231 State::setScripManager(&this->scriptManager);232 233 235 this->run(); 234 236 } … … 241 243 { 242 244 PRINTF(3)("GameWorld::stop() - got stop signal\n"); 243 State::setScrip Manager(NULL);245 State::setScriptManager(NULL); 244 246 this->bRunning = false; 245 247 }
Note: See TracChangeset
for help on using the changeset viewer.