Revision: 2652
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2652&view=rev
Author:   ulteq
Date:     2012-05-24 19:43:02 +0000 (Thu, 24 May 2012)
Log Message:
-----------
-Codechange: removed redundant code

Modified Paths:
--------------
    trunk/source/main/physics/BeamForcesEuler.cpp

Modified: trunk/source/main/physics/BeamForcesEuler.cpp
===================================================================
--- trunk/source/main/physics/BeamForcesEuler.cpp       2012-05-24 18:06:53 UTC 
(rev 2651)
+++ trunk/source/main/physics/BeamForcesEuler.cpp       2012-05-24 19:43:02 UTC 
(rev 2652)
@@ -1964,7 +1964,6 @@
                                                                
SoundScriptManager::getSingleton().modulate(trucknum, 
SS_MOD_LINKED_COMMANDRATE, v, SL_COMMAND, i);
                                                        }
 #endif //USE_OPENAL
-
                                                        beams[bbeam].L *= (1.0 
+ beams[bbeam].commandRatioLong * v * crankfactor * dt / beams[bbeam].L);
                                                        
dl=fabs(dl-beams[bbeam].L);
                                                        if(v>0.5)
@@ -2062,7 +2061,6 @@
                                                        
dl=fabs(dl-beams[bbeam].L);
                                                        if(v>0.5)
                                                        {
-                                                               
requestpower=true;
                                                                active++;
                                                                
work+=fabs(beams[bbeam].stress)*dl*beams[bbeam].commandEngineCoupling;
                                                        }

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

Reply via email to