From 2ca827a3a4b3b5f692ad73c3161c74f2db0a3b0f Mon Sep 17 00:00:00 2001 From: ehofman Date: Sun, 19 Oct 2003 09:27:27 +0000 Subject: [PATCH] Fix a bug that gets triggered at least in MSVC and gcc-2.95 --- src/FDM/YASim/Rotor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/YASim/Rotor.cpp b/src/FDM/YASim/Rotor.cpp index d52e9b717..67f833e3a 100644 --- a/src/FDM/YASim/Rotor.cpp +++ b/src/FDM/YASim/Rotor.cpp @@ -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