]> git.mxchange.org Git - flightgear.git/commitdiff
Small bug fix, get the weighted average of the same side.
authorehofman <ehofman>
Thu, 10 Nov 2005 10:02:00 +0000 (10:02 +0000)
committerehofman <ehofman>
Thu, 10 Nov 2005 10:02:00 +0000 (10:02 +0000)
src/Aircraft/replay.cxx

index b53ffce021ab29a06c9638f9521261c5bf5a2c25..e650a8b315856d06396d523797705a4f89a0ac83 100644 (file)
@@ -363,7 +363,7 @@ static FGReplayData interpolate( double time, FGReplayData f1, FGReplayData f2 )
 
     // Brake controls
     result.ctrls.brake_left
-            = weight( ctrls1.brake_left, ctrls2.brake_right, ratio );
+            = weight( ctrls1.brake_left, ctrls2.brake_left, ratio );
     result.ctrls.brake_right
             = weight( ctrls1.brake_right, ctrls2.brake_right, ratio );
     result.ctrls.brake_parking