- Timestamp:
- Aug 18, 2010, 9:46:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/WaypointPatrolController.cc
r7163 r7184 68 68 this->moveToTargetPosition(); 69 69 70 if (this->getControllableEntity() && this->isCloseAtTarget(1000) && this->isLookingAtTarget( Ogre::Math::PI/ 20.0f))70 if (this->getControllableEntity() && this->isCloseAtTarget(1000) && this->isLookingAtTarget(math::pi / 20.0f)) 71 71 this->getControllableEntity()->fire(0); 72 72 }
Note: See TracChangeset
for help on using the changeset viewer.