Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2009, 12:07:32 AM (15 years ago)
Author:
rgrieder
Message:

Copy&paste for dummies in Scene.cc (caused fire sound to be very quiet).
And replaced a few sound deletes with destroy().

File:
1 edited

Legend:

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

    r6378 r6381  
    122122                if ( this->defSndWpnEngine_->isPlaying() )
    123123                    this->defSndWpnEngine_->stop();
    124                 delete this->defSndWpnEngine_;
     124                this->defSndWpnEngine_->destroy();
    125125            }
    126126            if ( this->defSndWpnLaunch_ )
     
    128128                if ( this->defSndWpnLaunch_->isPlaying())
    129129                    this->defSndWpnLaunch_->stop();
    130                 delete this->defSndWpnLaunch_;
     130                this->defSndWpnLaunch_->destroy();
    131131            }
    132132        }
Note: See TracChangeset for help on using the changeset viewer.