Changeset 8906 for code/branches/hud/src/orxonox/infos/PlayerInfo.cc
- Timestamp:
- Oct 26, 2011, 4:10:30 PM (13 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.