- Timestamp:
- Oct 10, 2015, 6:38:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/FormationController.cc
r10624 r10631 1087 1087 } 1088 1088 1089 void FormationController::changedControllableEntity() 1090 { 1091 Controller::changedControllableEntity(); // super 1092 1093 // when changing the controllable entity, ensure that the controller does not use the new entity as target 1094 if (this->target_ && this->getControllableEntity() == static_cast<ControllableEntity*>(this->target_)) 1095 this->forgetTarget(); 1096 } 1089 1097 }
Note: See TracChangeset
for help on using the changeset viewer.