Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4693 in orxonox.OLD


Ignore:
Timestamp:
Jun 24, 2005, 4:35:30 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: small patch to prevent interlock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_emitter.cc

    r4692 r4693  
    253253    {
    254254      Vector inheritVelocity = this->getVelocity() * this->inheritSpeed;
    255       for (int i = 0; i < count; i++)
     255      for (int i = 0; i < (int)count; i++)
    256256      {
    257257        Vector randDir = Vector(rand()-RAND_MAX/2, rand()-RAND_MAX/2, rand()-RAND_MAX/2);
Note: See TracChangeset for help on using the changeset viewer.