Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1359


Ignore:
Timestamp:
May 22, 2008, 1:34:23 PM (16 years ago)
Author:
FelixSchulthess
Message:

minor fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/hud/HUD.cc

    r1356 r1359  
    9999    {
    100100        int d = radar->getDist2Focus()/10;
    101         test->setCaption("Distance: " + Ogre::StringConverter::toString(d));
     101        if(d) test->setCaption("Distance: " + Ogre::StringConverter::toString(d));
     102        else test->setCaption("");
    102103
    103104        energyBar->resize();
Note: See TracChangeset for help on using the changeset viewer.