Changeset 8906 for code/branches/hud/src/orxonox
- Timestamp:
- Oct 26, 2011, 4:10:30 PM (13 years ago)
- Location:
- code/branches/hud/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/infos/PlayerInfo.cc
r8896 r8906 171 171 172 172 this->changedControllableEntity(); 173 SpaceShip* spaceship = dynamic_cast<SpaceShip*>(entity); 174 if (spaceship != NULL) 175 { 176 spaceship->setRVName(this->getName()); 177 } 173 178 } 174 179 … … 190 195 191 196 this->changedControllableEntity(); 192 193 SpaceShip* spaceship = dynamic_cast<SpaceShip*>(entity);194 if (spaceship != NULL)195 {196 spaceship->setRVName(this->getName());197 }198 197 } 199 198 -
code/branches/hud/src/orxonox/interfaces/RadarViewable.h
r8896 r8906 69 69 } 70 70 } 71 72 71 std::string getRVName() const 73 72 { return this->RVName; }
Note: See TracChangeset
for help on using the changeset viewer.