- Timestamp:
- May 25, 2009, 3:26:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/controllers/AIController.cc
r2896 r3049 108 108 109 109 if (this->bHasTargetPosition_) 110 this->moveToTargetPosition( dt);110 this->moveToTargetPosition(); 111 111 112 if (this->getControllableEntity() && this->bShooting_ && this->isCloseAtTarget( 500) && this->isLookingAtTarget(Ogre::Math::PI / 20.0))112 if (this->getControllableEntity() && this->bShooting_ && this->isCloseAtTarget(1000) && this->isLookingAtTarget(Ogre::Math::PI / 20.0)) 113 113 this->getControllableEntity()->fire(WeaponMode::fire); 114 114
Note: See TracChangeset
for help on using the changeset viewer.