Changeset 7509 in orxonox.OLD for branches/atmospheric_engine/src
- Timestamp:
- May 3, 2006, 2:30:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.cc
r7503 r7509 53 53 if (this->weatherEffects != NULL) 54 54 { 55 list<BaseObject*>::const_iterator it;56 for (it = this->weatherEffects->begin(); it != this->weatherEffects->end(); it++)57 dynamic_cast<WeatherEffect*>(*it)->deactivate();55 //for (unsigned int i = 0; i < weatherEffects.size(); ++i) 56 while(!this->weatherEffects->empty()) 57 delete this->weatherEffects->front(); 58 58 } 59 } 59 60 60 }61 61 62 62
Note: See TracChangeset
for help on using the changeset viewer.