Changeset 1375 for code/trunk/src/orxonox/hud
- Timestamp:
- May 22, 2008, 4:01:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/hud/HUD.cc
r1374 r1375 108 108 void HUD::tick(float dt) 109 109 { 110 int d = radar->getDist2Focus()/10;110 int d = (float)(radar->getDist2Focus()/10); 111 111 if(d) test->setCaption("Distance: " + Ogre::StringConverter::toString(d)); 112 112 else test->setCaption("");
Note: See TracChangeset
for help on using the changeset viewer.