- Timestamp:
- Jul 5, 2011, 11:59:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/AIController.cc
r8732 r8733 230 230 this->moveToTargetPosition(); 231 231 232 if (this->getControllableEntity() && this->bShooting_ && this->isCloseAtTarget(1000) && this->isLookingAtTarget(math::pi / 20.0f)) 233 this->getControllableEntity()->fire(0); 232 this->doFire(); 234 233 } 235 234 … … 267 266 this->moveToTargetPosition(); 268 267 269 if (this->getControllableEntity() && this->bShooting_ && this->isCloseAtTarget(1000) && this->isLookingAtTarget(math::pi / 20.0f)) 270 this->getControllableEntity()->fire(0); 268 this->doFire(); 271 269 } 272 270 }//END_OF DEFAULT MODE
Note: See TracChangeset
for help on using the changeset viewer.