Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2009, 10:03:08 PM (14 years ago)
Author:
rgrieder
Message:

WeaponSlots should not be synchronised.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc

    r6394 r6407  
    114114        if( !this->bSoundAttached_ && GameMode::isMaster() )
    115115        {
    116             assert(this->getWeapon() && this->getWeapon()->getWeaponSlot());
    117             this->getWeapon()->getWeaponSlot()->attach(this->defSndWpnFire_);
     116            assert(this->getWeapon());
     117            this->getWeapon()->attach(this->defSndWpnFire_);
    118118            this->bSoundAttached_ = true;
    119119        }
Note: See TracChangeset for help on using the changeset viewer.