Changeset 6101 for code/branches/particles2/src/orxonox/controllers
- Timestamp:
- Nov 20, 2009, 1:02:09 AM (15 years ago)
- Location:
- code/branches/particles2/src/orxonox/controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/particles2/src/orxonox/controllers/AIController.cc
r6087 r6101 109 109 110 110 if (this->getControllableEntity() && this->bShooting_ && this->isCloseAtTarget(1000) && this->isLookingAtTarget(Ogre::Math::PI / 20.0f)) 111 //this->getControllableEntity()->fire(0);111 this->getControllableEntity()->fire(0); 112 112 113 113 SUPER(AIController, tick, dt); -
code/branches/particles2/src/orxonox/controllers/HumanController.cc
r5929 r6101 145 145 void HumanController::fire(unsigned int firemode) 146 146 { 147 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_)147 if( HumanController::localController_s && HumanController::localController_s->controllableEntity_ ) 148 148 HumanController::localController_s->controllableEntity_->fire(firemode); 149 149 }
Note: See TracChangeset
for help on using the changeset viewer.