Changeset 8217 in orxonox.OLD for branches/bsp_model/src/lib/collision_detection/cd_engine.cc
- Timestamp:
- Jun 7, 2006, 9:57:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/collision_detection/cd_engine.cc
r8215 r8217 32 32 33 33 #include "bsp_manager.h" 34 #include "bsp_entity.h" 34 35 35 36 using namespace std; … … 101 102 std::list<BaseObject*>::const_iterator bspIterator; 102 103 std::list<WorldEntity*>::iterator entityIterator; 103 const std::list<BaseObject*>* bspList = ClassList::getList(CL_BSP_ MODEL);104 const std::list<BaseObject*>* bspList = ClassList::getList(CL_BSP_ENTITY); 104 105 if( bspList == NULL) 105 106 return; … … 108 109 for( bspIterator = bspList->begin(); bspIterator != bspList->end(); bspIterator++) { 109 110 for(entityIterator = list1.begin(); entityIterator != list1.end(); entityIterator++) 110 static_cast<BspManager*>(*bspIterator)->checkCollision(*entityIterator);111 (static_cast<BspEntity*>(*bspIterator)->getBspManager())->checkCollision(*entityIterator); 111 112 } 112 113 }
Note: See TracChangeset
for help on using the changeset viewer.