Revision: 2398
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2398&view=rev
Author:   rorthomas
Date:     2012-01-31 00:27:55 +0000 (Tue, 31 Jan 2012)
Log Message:
-----------


Modified Paths:
--------------
    trunk/source/main/physics/water/screwprop.cpp

Modified: trunk/source/main/physics/water/screwprop.cpp
===================================================================
--- trunk/source/main/physics/water/screwprop.cpp       2012-01-31 00:22:32 UTC 
(rev 2397)
+++ trunk/source/main/physics/water/screwprop.cpp       2012-01-31 00:27:55 UTC 
(rev 2398)
@@ -62,7 +62,7 @@
        //pseudo-rpm
        float prpm=(0.5+fabs(val)/2.0)*100.0;
 #ifdef USE_OPENAL
-       SoundScriptManager *ssm = SoundScriptManager::getSingleton();
+       SoundScriptManager *ssm = 
SoundScriptManager::getInstancePtrNoCreation();
        if(ssm) ssm->modulate(trucknum, SS_MOD_ENGINE, prpm);
 #endif //OPENAL
 }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Rigsofrods-devel mailing list
Rigsofrods-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to