Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 1:38:02 AM (16 years ago)
Author:
landauf
Message:
  • fixed a small speedbar-initialization problem
  • added new console-commands:
    • pause
    • suicide
    • addBots [number]
    • killBots [number]
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/overlays/hud/HUDBar.cc

    r2369 r2462  
    8484        this->bar_->setMaterialName(materialname);
    8585
    86         this->setValue(0.0f);
     86        this->value_ = 1.0f;  // initielize with 1.0f to trigger a change when calling setValue(0.0f) on the line below
     87        this->setValue(0.0f); // <--
    8788        this->setRightToLeft(false);
    8889        this->setAutoColour(true);
Note: See TracChangeset for help on using the changeset viewer.