Changeset 8480 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.cc
- Timestamp:
- Jun 15, 2006, 4:57:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/snow_effect.cc
r8457 r8480 53 53 } 54 54 55 if(snowActivate) 55 if(snowActivate) { 56 56 this->activate(); 57 SnowEffect::snowParticles->precache((int) this->snowLife); 58 } 57 59 } 58 60 … … 139 141 this->emitter->setSize(snowSize); 140 142 141 SnowEffect::snowParticles->precache((int) this->snowLife); 142 143 if (this->snowWindForce > 1) 144 this->soundSource.loop(this->windBuffer); 143 if (this->snowWindForce != 0) 144 this->soundSource.play(this->windBuffer, 0.1f * this->snowWindForce, true); 145 145 146 } 146 147
Note: See TracChangeset
for help on using the changeset viewer.