Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 20, 2006, 12:02:01 PM (17 years ago)
Author:
muellmic
Message:

some interface hacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/player.cc

    r10030 r10120  
    7474    PRINTF(4)("Enter new Playable\n");
    7575    this->playable = playable;
    76     this->_hud.setEnergyWidget(this->playable->getHealthWidget());
     76    this->_hud.setArmorWidget(this->playable->getHealthWidget());
    7777    if (dynamic_cast<SpaceShip*>(this->playable) != 0)
    7878      this->_hud.setWeaponManager(&this->playable->getWeaponManager(), &dynamic_cast<SpaceShip*>(this->playable)->getWeaponManagerSecondary());
Note: See TracChangeset for help on using the changeset viewer.