Changeset 9666
- Timestamp:
- Aug 25, 2013, 10:21:41 AM (11 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/Controller.h
r9625 r9666 65 65 virtual void changedControllableEntity() {} 66 66 67 // protected: 67 68 // don't use this directly, use getPlayer()->startControl(entity) (unless you know exactly what you do) 68 69 inline void setControllableEntity(ControllableEntity* entity) -
code/trunk/src/orxonox/worldentities/pawns/Pawn.cc
r9663 r9666 333 333 if(!entity->hasHumanController()) 334 334 { 335 // delete the AIController 335 // delete the AIController // <-- TODO: delete? nothing is deleted here... should we delete the controller? 336 336 slave->setControllableEntity(0); 337 337
Note: See TracChangeset
for help on using the changeset viewer.