Changeset 8896 for code/branches/hud/src/orxonox/infos
- Timestamp:
- Oct 19, 2011, 4:16:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/infos/PlayerInfo.cc
r8706 r8896 36 36 #include "worldentities/ControllableEntity.h" 37 37 #include "controllers/Controller.h" 38 #include "worldentities/pawns/SpaceShip.h" 38 39 39 40 namespace orxonox … … 189 190 190 191 this->changedControllableEntity(); 192 193 SpaceShip* spaceship = dynamic_cast<SpaceShip*>(entity); 194 if (spaceship != NULL) 195 { 196 spaceship->setRVName(this->getName()); 197 } 191 198 } 192 199
Note: See TracChangeset
for help on using the changeset viewer.