Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2015, 10:44:57 PM (10 years ago)
Author:
landauf
Message:

Loader is now a singleton instead of a static class. fixes issue with statically initialized ClassTreeMask (which again requires a BaseObject-Identifier)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/orxonox/gamestates/GSLevel.cc

    r10362 r10392  
    168168        // call the loader
    169169        startFile_ = new XMLFile(LevelManager::getInstance().getDefaultLevel());
    170         bool loaded = Loader::open(startFile_);
     170        bool loaded = Loader::getInstance().open(startFile_);
    171171
    172172        Core::getInstance().updateLastLevelTimestamp();
     
    177177    void GSLevel::unloadLevel()
    178178    {
    179         Loader::unload(startFile_);
     179        Loader::getInstance().unload(startFile_);
    180180        delete startFile_;
    181181
Note: See TracChangeset for help on using the changeset viewer.