Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10573


Ignore:
Timestamp:
Sep 9, 2015, 1:36:00 PM (9 years ago)
Author:
landauf
Message:

there are no objects_ at this point, so it's not necessary to set the gametype. also, this wouldn't work anyway because objects may have sub-objects and almost none of the classes passes a changed gametype to it's sub-objects

File:
1 edited

Legend:

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

    r10563 r10573  
    125125        this->setGametype(rootgametype);
    126126
    127         for (std::list<BaseObject*>::iterator it = this->objects_.begin(); it != this->objects_.end(); ++it)
    128             (*it)->setGametype(rootgametype);
    129 
    130127        if (LevelManager::exists())
    131128            LevelManager::getInstance().requestActivity(this);
Note: See TracChangeset for help on using the changeset viewer.