Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 5, 2011, 11:59:37 PM (13 years ago)
Author:
jo
Message:

Further narrowing down. The bug is triggered, when a bot calls fire(3) - whenever a bot launches a rocket.

Location:
code/branches/ai2/src/orxonox/worldentities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/src/orxonox/worldentities/ControllableEntity.cc

    r8706 r8733  
    7474        this->bMouseLook_ = false;
    7575        this->mouseLookSpeed_ = 200;
     76        this->bIsRocket_ = false;
    7677
    7778        this->server_position_         = Vector3::ZERO;
  • code/branches/ai2/src/orxonox/worldentities/ControllableEntity.h

    r8723 r8733  
    164164            void setTargetInternal( uint32_t targetID );
    165165            inline bool getRocket() const
    166                 { return this-> bIsRocket; }
     166                { return this-> bIsRocket_; }
    167167
    168168        protected:
     
    183183
    184184            Ogre::SceneNode* cameraPositionRootNode_;
    185             bool bIsRocket; //Workaround to see, if the controllable entity is a Rocket.
     185            bool bIsRocket_; //Workaround to see, if the controllable entity is a Rocket.
    186186
    187187        private:
Note: See TracChangeset for help on using the changeset viewer.