Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4419 in orxonox.OLD for orxonox/trunk/src/world_entities/camera.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/world_entities/camera.cc

    r4414 r4419  
    5757Camera::~Camera(void)
    5858{
     59  EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW0);
     60  EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW1);
     61  EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW2);
     62  EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW3);
     63  EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW4);
     64  EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW5);
    5965}
    6066
Note: See TracChangeset for help on using the changeset viewer.