]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a bug that gets triggered at least in MSVC and gcc-2.95
authorehofman <ehofman>
Sun, 19 Oct 2003 09:27:27 +0000 (09:27 +0000)
committerehofman <ehofman>
Sun, 19 Oct 2003 09:27:27 +0000 (09:27 +0000)
src/FDM/YASim/Rotor.cpp

index d52e9b717e188832af853858a23713881fe2f6c3..67f833e3ae5f7d9b4a0a7f8d870f3ddd4dca5fa1 100644 (file)
@@ -609,7 +609,7 @@ void Rotor::compile()
     for (i=0;i<4;i++)
     {
       
-      rps[i]->setlastnextrp(rps[(i-1)%4],rps[(i+1)%4],rps[(i+2)%4]);
+      rps[i]->setlastnextrp(rps[(i+3)%4],rps[(i+1)%4],rps[(i+2)%4]);
     }
   }
   else