Changeset 6108 for code/branches/presentation2/src/orxonox/infos
- Timestamp:
- Nov 20, 2009, 8:15:25 PM (15 years ago)
- Location:
- code/branches/presentation2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2
- Property svn:mergeinfo changed
/code/branches/steering (added) merged: 5979,5981,5984,5993,6001,6033,6045,6052,6055,6058,6091
- Property svn:mergeinfo changed
-
code/branches/presentation2/src/orxonox/infos/HumanPlayer.cc
r5929 r6108 35 35 #include "network/Host.h" 36 36 #include "controllers/HumanController.h" 37 #include "controllers/NewHumanController.h" 37 38 #include "gametypes/Gametype.h" 38 39 #include "overlays/OverlayGroup.h" … … 50 51 51 52 this->bHumanPlayer_ = true; 52 this->defaultController_ = Class( HumanController);53 this->defaultController_ = Class(NewHumanController); 53 54 54 55 this->humanHud_ = 0; -
code/branches/presentation2/src/orxonox/infos/PlayerInfo.cc
r6107 r6108 139 139 this->controller_->setPlayer(this); 140 140 if (this->controllableEntity_) 141 { 141 142 this->controller_->setControllableEntity(this->controllableEntity_); 143 this->controllableEntity_->setController(this->controller_); 144 } 142 145 this->changedController(); 143 146 } … … 161 164 162 165 if (this->controller_) 166 { 163 167 this->controller_->setControllableEntity(entity); 168 this->controllableEntity_->setController(this->controller_); 169 } 164 170 165 171 this->changedControllableEntity(); … … 195 201 return; 196 202 203 this->controllableEntity_->setController(0); 197 204 this->controllableEntity_ = 0; 198 205 this->controllableEntityID_ = OBJECTID_UNKNOWN;
Note: See TracChangeset
for help on using the changeset viewer.