Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2008, 7:21:17 PM (15 years ago)
Author:
rgrieder
Message:
  • Removed a const_const that could be easily replaced
  • getScene()→getSceneManager() is non zero again in dedicated mode

—> PLEASE ALWAYS USE Core::showsGraphics() TO IDENTIFY EXACTLY THAT, NOT this→getScene()→getSceneManager().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/worldentities/ExplosionChunk.cc

    r2485 r2537  
    4747        RegisterObject(ExplosionChunk);
    4848
    49         if (!this->getScene() || !this->getScene()->getSceneManager())
     49        if (!this->getScene() || !Core::showsGraphics() || !this->getScene()->getSceneManager())
    5050            ThrowException(AbortLoading, "Can't create ExplosionChunk, no scene or no scene manager given.");
    5151
Note: See TracChangeset for help on using the changeset viewer.