Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7206 in orxonox.OLD for branches/std/src/lib/particles


Ignore:
Timestamp:
Mar 9, 2006, 10:12:18 PM (19 years ago)
Author:
rennerc
Message:

fixed some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/particles/particle_system.cc

    r7199 r7206  
    485485void ParticleSystem::debug() const
    486486{
    487   PRINT(0)("  ParticleCount: %d emitters: %d, maximumCount: %d :: filled %d%%\n", this->count, this->emitters.size(), this->maxCount, 100*this->count/this->maxCount);
     487  PRINT(0)("  ParticleCount: %d emitters: %d, maximumCount: %d :: filled %d%%\n", this->count, this->emitters.size(), this->maxCount, ((this->maxCount!=0)?100*this->count/this->maxCount:0));
    488488  if (deadList)
    489489  {
Note: See TracChangeset for help on using the changeset viewer.