Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6064


Ignore:
Timestamp:
Nov 15, 2009, 12:28:34 AM (15 years ago)
Author:
rgrieder
Message:

Code looks better symmetrically. Actually it's probably a potential bug..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/Scene.cc

    r5929 r6064  
    342342        bool modified = false;
    343343        if (object0->isCollisionCallbackActive())
    344         {
    345344            modified |= object0->collidesAgainst(object1, cp);
    346             if (object1->isCollisionCallbackActive())
    347                 modified |= object1->collidesAgainst(object0, cp);
    348         }
    349         else
     345        if (object1->isCollisionCallbackActive())
    350346            modified |= object1->collidesAgainst(object0, cp);
    351347
Note: See TracChangeset for help on using the changeset viewer.