- Timestamp:
- Apr 8, 2009, 12:58:47 AM (15 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/objects/worldentities/ParticleEmitter.cc
r2907 r2908 39 39 #include "tools/ParticleInterface.h" 40 40 #include "util/Exception.h" 41 #include "core/GameMode.h"42 41 #include "core/CoreIncludes.h" 43 42 #include "core/XMLPort.h" … … 52 51 RegisterObject(ParticleEmitter); 53 52 54 if ( GameMode::showsGraphics() && (!this->getScene() || !this->getScene()->getSceneManager()))53 if (Core::showsGraphics() && (!this->getScene() || !this->getScene()->getSceneManager())) 55 54 ThrowException(AbortLoading, "Can't create ParticleEmitter, no scene or no scene manager given."); 56 55 … … 108 107 } 109 108 110 if ( GameMode::showsGraphics() && this->getScene() && this->getScene()->getSceneManager())109 if (Core::showsGraphics() && this->getScene() && this->getScene()->getSceneManager()) 111 110 { 112 111 try
Note: See TracChangeset
for help on using the changeset viewer.