Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 4:01:09 PM (17 years ago)
Author:
FelixSchulthess
Message:

minor change

File:
1 edited

Legend:

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

    r1374 r1375  
    108108    void HUD::tick(float dt)
    109109    {
    110         int d = radar->getDist2Focus()/10;
     110        int d = (float)(radar->getDist2Focus()/10);
    111111        if(d) test->setCaption("Distance: " + Ogre::StringConverter::toString(d));
    112112        else test->setCaption("");
Note: See TracChangeset for help on using the changeset viewer.