Changeset 4420 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- May 31, 2005, 5:27:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4419 r4420 171 171 { 172 172 PRINTF(3)("World::~World() - deleting current world\n"); 173 CommandNode* cn = Orxonox::getInstance()->getLocalInput(); 174 cn->unbind(this->localPlayer); 175 cn->reset(); 173 174 this->eventHandler->unsubscribe(this->localPlayer); 176 175 177 176 delete WorldInterface::getInstance(); … … 186 185 //delete garbagecollecor 187 186 //delete animator 188 189 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_UP);190 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_DOWN);191 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_LEFT);192 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_RIGHT);193 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_FIRE1);194 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_NEXT_WEAPON);195 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_PREVIOUS_WEAPON);196 197 187 198 188 LoadClassDescription::printAll();
Note: See TracChangeset
for help on using the changeset viewer.