Changeset 6444 in orxonox.OLD for trunk/src/world_entities/playable.cc
- Timestamp:
- Jan 8, 2006, 10:45:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.cc
r6443 r6444 52 52 53 53 if (this->currentPlayer != NULL) 54 54 this->currentPlayer->weaponConfigChanged(); 55 55 } 56 56 … … 59 59 this->weaponMan->removeWeapon(weapon); 60 60 61 if (this->currentPlayer != NULL) 62 this->currentPlayer->weaponConfigChanged(); 63 } 64 65 void Playable::nextWeaponConfig() 66 { 67 this->weaponMan->nextWeaponConfig(); 68 if (this->currentPlayer != NULL) 69 this->currentPlayer->weaponConfigChanged(); 70 } 71 72 void Playable::previousWeaponConfig() 73 { 74 this->weaponMan->previousWeaponConfig(); 61 75 if (this->currentPlayer != NULL) 62 76 this->currentPlayer->weaponConfigChanged(); … … 154 168 void Playable::attachCamera() 155 169 { 156 157 170 State::getCamera()->setParentSoft(this); 171 State::getCameraTarget()->setParentSoft(this); 158 172 159 173 } … … 162 176 void Playable::detachCamera() 163 177 { 164 165 166 178 }
Note: See TracChangeset
for help on using the changeset viewer.