Revision: 1638
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1638&view=rev
Author: rorthomas
Date: 2011-02-02 21:28:28 +0000 (Wed, 02 Feb 2011)
Log Message:
-----------
fixed trucks that uses no sound camera switch
Modified Paths:
--------------
trunk/source/main/Beam.h
trunk/source/main/BeamLoadTruck.cpp
Modified: trunk/source/main/Beam.h
===================================================================
--- trunk/source/main/Beam.h 2011-02-02 20:29:48 UTC (rev 1637)
+++ trunk/source/main/Beam.h 2011-02-02 21:28:28 UTC (rev 1638)
@@ -208,7 +208,7 @@
//! @{ audio related functions
void setupDefaultSoundSources();
- void addSoundSource(SoundScriptInstance *ssi, int nodenum, int type=-1);
+ void addSoundSource(SoundScriptInstance *ssi, int nodenum, int type=-2);
void updateSoundSources();
//! @}
Modified: trunk/source/main/BeamLoadTruck.cpp
===================================================================
--- trunk/source/main/BeamLoadTruck.cpp 2011-02-02 20:29:48 UTC (rev 1637)
+++ trunk/source/main/BeamLoadTruck.cpp 2011-02-02 21:28:28 UTC (rev 1638)
@@ -3197,7 +3197,7 @@
continue;
}
#ifdef USE_OPENAL
- if(ssm) addSoundSource(ssm->createInstance(script,
trucknum, NULL), ref);
+ if(ssm) addSoundSource(ssm->createInstance(script,
trucknum, NULL), ref, -2);
#endif //OPENAL
}
else if (mode==67)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel