Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 2, 2016, 9:08:54 PM (9 years ago)
Author:
landauf
Message:

fixed some cases where 'delete' was used instead of destroy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/LevelManager.cc

    r10624 r11020  
    8080        std::set<LevelInfoItem*, LevelInfoCompare>::iterator it = availableLevels_.begin();
    8181        for (; it != availableLevels_.end(); ++it)
    82             delete *it;
     82            (*it)->destroy();
    8383    }
    8484
Note: See TracChangeset for help on using the changeset viewer.