Changeset 7503 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.cc
- Timestamp:
- May 3, 2006, 1:46:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.cc
r7416 r7503 48 48 { 49 49 AtmosphericEngine::singletonRef = NULL; 50 51 this->weatherEffects = ClassList::getList( CL_WEATHER_EFFECT); 52 53 if (this->weatherEffects != NULL) 54 { 55 list<BaseObject*>::const_iterator it; 56 for (it = this->weatherEffects->begin(); it != this->weatherEffects->end(); it++) 57 dynamic_cast<WeatherEffect*>(*it)->deactivate(); 58 } 59 50 60 } 51 61
Note: See TracChangeset
for help on using the changeset viewer.