Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4815 in orxonox.OLD for orxonox/trunk/src/lib/lang


Ignore:
Timestamp:
Jul 7, 2005, 3:49:05 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now some other singletons get deleted at the end of the game. there is some classid problem with the collision detection framework: the stuff gets deleted, but the names remain in the list. bensch: you will have to adjust the class ids of the cd so it works, no idea how i could do this :)

Location:
orxonox/trunk/src/lib/lang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/lang/base_object.cc

    r4778 r4815  
    104104{
    105105  // if classID is a derivable object
    106   if (likely(classID & CL_MASK_SUPER_CLASS || classID & CL_MASK_SUBSUPER_CLASS))
     106  if ( likely(classID & CL_MASK_SUPER_CLASS || classID & CL_MASK_SUBSUPER_CLASS))
    107107  {
    108108    if( this->classID & classID)
    109109      return true;
    110   }
    111   // if classID is a LOWLEVEL-class
     110  } // if classID is a LOWLEVEL-class
    112111  else
    113112  {
    114     if ((this->classID & CL_MASK_LOWLEVEL_CLASS) == classID)
     113    if( (this->classID & CL_MASK_LOWLEVEL_CLASS) == classID)
    115114      return true;
    116115  }
  • orxonox/trunk/src/lib/lang/class_list.cc

    r4784 r4815  
    105105      tmp->objectList->remove(objectPointer);
    106106    }
    107 
    108107    tmp = tmp->next;
    109108  }
Note: See TracChangeset for help on using the changeset viewer.