Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4419 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
May 31, 2005, 5:20:49 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: unsubscribtion from events, after object deatch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4418 r4419  
    186186  //delete garbagecollecor
    187187  //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
    188197
    189198  LoadClassDescription::printAll();
Note: See TracChangeset for help on using the changeset viewer.