Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9666 for code/trunk


Ignore:
Timestamp:
Aug 25, 2013, 10:21:41 AM (11 years ago)
Author:
landauf
Message:

comments

Location:
code/trunk/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/controllers/Controller.h

    r9625 r9666  
    6565            virtual void changedControllableEntity() {}
    6666
     67//        protected:
    6768            // don't use this directly, use getPlayer()->startControl(entity) (unless you know exactly what you do)
    6869            inline void setControllableEntity(ControllableEntity* entity)
  • code/trunk/src/orxonox/worldentities/pawns/Pawn.cc

    r9663 r9666  
    333333                    if(!entity->hasHumanController())
    334334                    {
    335                         // delete the AIController
     335                        // delete the AIController // <-- TODO: delete? nothing is deleted here... should we delete the controller?
    336336                        slave->setControllableEntity(0);
    337337
Note: See TracChangeset for help on using the changeset viewer.