Revision: 2528 http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2528&view=rev Author: ulteq Date: 2012-05-08 10:11:24 +0000 (Tue, 08 May 2012) Log Message: ----------- -Bugfix: merged theshark's patch for #418 - thanks
Modified Paths: -------------- trunk/source/main/physics/Beam.cpp Modified: trunk/source/main/physics/Beam.cpp =================================================================== --- trunk/source/main/physics/Beam.cpp 2012-05-08 04:03:13 UTC (rev 2527) +++ trunk/source/main/physics/Beam.cpp 2012-05-08 10:11:24 UTC (rev 2528) @@ -86,6 +86,14 @@ if(dash) delete dash; dash=0; #endif // USE_MYGUI + // stop all the Sounds +#ifdef USE_OPENAL + for(int i=SS_TRIG_NONE+1; i<SS_MAX_TRIG; i++) + { + SoundScriptManager::getSingleton().trigStop(this->trucknum, i); + } +#endif // USE_OPENAL + // destruct and remove every tiny bit of stuff we created :-| if(nettimer) delete nettimer; nettimer=0; if(engine) delete engine; engine=0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rigsofrods-devel mailing list Rigsofrods-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel