Changeset 10278 in orxonox.OLD for branches/playability/src/world_entities
- Timestamp:
- Jan 17, 2007, 7:23:47 PM (18 years ago)
- Location:
- branches/playability/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/player.cc
r10120 r10278 98 98 void Player::weaponConfigChanged() 99 99 { 100 this->_hud.updateWeaponManager(); 100 //this->_hud.updateWeaponManager(); 101 102 if (dynamic_cast<SpaceShip*>(this->playable) != 0) 103 this->_hud.setWeaponManager(&this->playable->getWeaponManager(), &dynamic_cast<SpaceShip*>(this->playable)->getWeaponManagerSecondary()); 104 else 105 this->_hud.setWeaponManager(&this->playable->getWeaponManager()); 101 106 } 102 107 -
branches/playability/src/world_entities/weapons/weapon.cc
r10252 r10278 392 392 OrxGui::GLGuiWidget* Weapon::getEnergyWidget() 393 393 { 394 if ( this->energyWidget == NULL)394 if ( this->energyWidget == NULL) 395 395 { 396 396 this->energyWidget = new OrxGui::GLGuiEnergyWidgetVertical();
Note: See TracChangeset
for help on using the changeset viewer.