Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8977 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Jul 1, 2006, 1:17:57 PM (18 years ago)
Author:
bensch
Message:

trunk: gui displayes nicely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.cc

    r8976 r8977  
    312312  if (this->energyWidget == NULL)
    313313  {
    314     this->energyWidget = new OrxGui::GLGuiEnergyWidget;
     314    this->energyWidget = new OrxGui::GLGuiEnergyWidget();
     315    this->energyWidget->setDisplayedName(this->getClassName());
    315316    this->energyWidget->setSize2D( 20, 100);
    316317    this->energyWidget->setMaximum(this->getEnergyMax());
Note: See TracChangeset for help on using the changeset viewer.