Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2006, 5:35:28 PM (17 years ago)
Author:
marcscha
Message:

Second Weapon Ammo Widget Support

File:
1 edited

Legend:

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

    r10023 r10030  
    7575    this->playable = playable;
    7676    this->_hud.setEnergyWidget(this->playable->getHealthWidget());
    77     /*if (dynamic_cast<SpaceShip*>(this->playable))
     77    if (dynamic_cast<SpaceShip*>(this->playable) != 0)
    7878      this->_hud.setWeaponManager(&this->playable->getWeaponManager(), &dynamic_cast<SpaceShip*>(this->playable)->getWeaponManagerSecondary());
    79     else*/
     79    else
    8080      this->_hud.setWeaponManager(&this->playable->getWeaponManager());
    8181
Note: See TracChangeset for help on using the changeset viewer.