Changeset 9019 in orxonox.OLD for trunk/src/world_entities/player.cc
- Timestamp:
- Jul 2, 2006, 4:41:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/player.cc
r8362 r9019 38 38 39 39 this->playable = NULL; 40 this-> hud.setVisibility(true);40 this->_hud.setVisibility(true); 41 41 42 42 this->subscribeEvent(ES_GAME, KeyMapper::PEV_CHANGE_SHIP); … … 62 62 { 63 63 PRINTF(4)("Player gets ejected from Playable\n"); 64 this-> hud.setEnergyWidget(NULL);65 this-> hud.setWeaponManager(NULL);64 this->_hud.setEnergyWidget(NULL); 65 this->_hud.setWeaponManager(NULL); 66 66 67 67 Playable* ejectedPlayable = this->playable; … … 75 75 PRINTF(4)("Enter new Playable\n"); 76 76 this->playable = playable; 77 this-> hud.setEnergyWidget(this->playable->getHealthWidget());78 this-> hud.setWeaponManager(&this->playable->getWeaponManager());77 this->_hud.setEnergyWidget(this->playable->getHealthWidget()); 78 this->_hud.setWeaponManager(&this->playable->getWeaponManager()); 79 79 80 80 this->playable->setPlayer(this); … … 96 96 void Player::weaponConfigChanged() 97 97 { 98 this-> hud.updateWeaponManager();98 this->_hud.updateWeaponManager(); 99 99 } 100 100
Note: See TracChangeset
for help on using the changeset viewer.