Changeset 6407
- Timestamp:
- Dec 23, 2009, 10:03:08 PM (15 years ago)
- Location:
- code/branches/presentation2/src/orxonox/weaponsystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc
r6394 r6407 114 114 if( !this->bSoundAttached_ && GameMode::isMaster() ) 115 115 { 116 assert(this->getWeapon() && this->getWeapon()->getWeaponSlot());117 this->getWeapon()-> getWeaponSlot()->attach(this->defSndWpnFire_);116 assert(this->getWeapon()); 117 this->getWeapon()->attach(this->defSndWpnFire_); 118 118 this->bSoundAttached_ = true; 119 119 } -
code/branches/presentation2/src/orxonox/weaponsystem/WeaponSlot.cc
r6398 r6407 45 45 this->weaponSystem_ = 0; 46 46 this->weapon_ = 0; 47 48 this->setSyncMode(0x0); 47 49 } 48 50
Note: See TracChangeset
for help on using the changeset viewer.