Changeset 1395 for code/trunk/src/orxonox/hud/Navigation.cc
- Timestamp:
- May 23, 2008, 6:52:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/hud/Navigation.cc
r1394 r1395 27 27 28 28 #include <OgreOverlayManager.h> 29 #include <OgreStringConverter.h> 29 30 #include <GraphicsEngine.h> 30 31 #include "objects/SpaceShip.h" … … 109 110 110 111 int d = (float)(getDist2Focus()/10); 111 if(d) test->setCaption("Distance: " + Ogre::StringConverter::toString(d));112 else test->setCaption("");112 if(d) navText_->setCaption("Distance: " + Ogre::StringConverter::toString(d)); 113 else navText_->setCaption(""); 113 114 } 114 115
Note: See TracChangeset
for help on using the changeset viewer.