Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2006, 5:28:15 PM (17 years ago)
Author:
patrick
Message:

removed more bugs, should compile now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/coll_rect/src/lib/collision_reaction/collision_filter.cc

    r9988 r9990  
    149149    for( int i = 0; i < CREngine::CR_NUMBER; i++ )
    150150    {
    151       TargetIterator it = this->_filters[i].begin();
    152 
    153 
    154 //       for(; it != this->_filters[i].end(); i++ )
    155 //         if( unlikely(entity.isA(*it) ) )
    156 //           return true;
     151      std::vector<ClassID>::const_iterator it = this->_filters[i].begin();
     152      for(; it != this->_filters[i].end(); i++ )
     153        if( unlikely(entity.isA(*it) ) )
     154          return true;
    157155    }
    158156
     
    175173
    176174    // goes through all registered filter criterions and looks for matches
    177     TargetIterator it = this->_filters[type].begin();
     175    TargetIteratorConst it = this->_filters[type].begin();
    178176    for(; it != this->_filters[type].end(); it++ )
    179177      if( unlikely(entity.isA(*it)))
Note: See TracChangeset for help on using the changeset viewer.