Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Fixed a major sound issue: The state gets reset to 'Stopped' when the sound has finished playing (unless in loop mode of course).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/modules/weapons/projectiles/Rocket.cc

    r6381 r6383  
    115115        {
    116116            if (GameMode::isMaster() && this->player_)
    117             {
    118117                this->player_->stopTemporaryControl();
    119             }
     118
    120119            if ( this->defSndWpnEngine_ )
    121             {
    122                 if ( this->defSndWpnEngine_->isPlaying() )
    123                     this->defSndWpnEngine_->stop();
    124120                this->defSndWpnEngine_->destroy();
    125             }
     121
    126122            if ( this->defSndWpnLaunch_ )
    127             {
    128                 if ( this->defSndWpnLaunch_->isPlaying())
    129                     this->defSndWpnLaunch_->stop();
    130123                this->defSndWpnLaunch_->destroy();
    131             }
    132124        }
    133125    }
Note: See TracChangeset for help on using the changeset viewer.