Revision: 2653
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2653&view=rev
Author: ulteq
Date: 2012-05-24 20:17:51 +0000 (Thu, 24 May 2012)
Log Message:
-----------
-Fix: fixes revision #2439
Revision Links:
--------------
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2439&view=rev
Modified Paths:
--------------
trunk/source/main/physics/Beam.cpp
Modified: trunk/source/main/physics/Beam.cpp
===================================================================
--- trunk/source/main/physics/Beam.cpp 2012-05-24 19:43:02 UTC (rev 2652)
+++ trunk/source/main/physics/Beam.cpp 2012-05-24 20:17:51 UTC (rev 2653)
@@ -2983,7 +2983,7 @@
{
if (difftoBeamL > beams[i].longbound*beams[i].L || difftoBeamL
< -beams[i].shortbound*beams[i].L)
{
- if (beams[i].shock && (beams[i].shock->flags &
~SHOCK_FLAG_ISTRIGGER)) // this is NOT a trigger beam
+ if (beams[i].shock && !(beams[i].shock->flags &
SHOCK_FLAG_ISTRIGGER)) // this is NOT a trigger beam
{
// hard (normal) shock bump
k = beams[i].shock->sbd_spring;
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel