Changeset 9406 in orxonox.OLD for trunk/src/world_entities/weapons/aiming_system.cc
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/aiming_system.cc
r9298 r9406 28 28 29 29 30 using namespace std; 30 31 31 32 32 … … 91 91 92 92 93 for( int i = 0; i < this->selectionList.size(); i++)93 for(unsigned int i = 0; i < this->selectionList.size(); i++) 94 94 { 95 95 distance = fabs((this->getAbsCoor() - this->selectionList[i]->getAbsCoor()).len()); … … 101 101 } 102 102 103 PRINTF(0)("entity: %s\n", nearestEntity->getClass Name());103 PRINTF(0)("entity: %s\n", nearestEntity->getClassCName()); 104 104 return nearestEntity; 105 105 } … … 115 115 if( this->owner != killer) 116 116 { 117 //PRINTF(0)("real hit: %s\n", killer->getClass Name());117 //PRINTF(0)("real hit: %s\n", killer->getClassCName()); 118 118 this->selectionList.push_back(killer); 119 119 }
Note: See TracChangeset
for help on using the changeset viewer.