Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 24, 2008, 11:10:17 AM (17 years ago)
Author:
rgrieder
Message:
  • bugfix with hud creation (non member variable used)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/Orxonox.cc

    r1120 r1156  
    322322
    323323    Ogre::Overlay* hudOverlay = Ogre::OverlayManager::getSingleton().getByName("Orxonox/HUD1.2");
    324     HUD* orxonoxHud;
    325     orxonoxHud = new HUD();
    326     orxonoxHud->setEnergyValue(20);
    327     orxonoxHud->setEnergyDistr(20,20,60);
     324    orxonoxHUD_ = new HUD();
     325    orxonoxHUD_->setEnergyValue(20);
     326    orxonoxHUD_->setEnergyDistr(20,20,60);
    328327    hudOverlay->show();
    329328
Note: See TracChangeset for help on using the changeset viewer.