]> git.mxchange.org Git - flightgear.git/blobdiff - src/Traffic/Schedule.cxx
Merge branch 'tat/configure' into next
[flightgear.git] / src / Traffic / Schedule.cxx
index fda2c824476865049f14bc0fd01c6c38be30745d..b5297301a1470ae71fefc783b5079a8f28ab294a 100644 (file)
@@ -339,7 +339,7 @@ bool FGAISchedule::update(time_t now)
          //cout << "a = " << a[0] << " " << a[1] << " " << a[2] 
          //     << "b = " << b[0] << " " << b[1] << " " << b[2] << endl;  
           sgdMat4 matrix;
-         sgdMakeRotMat4(matrix, angle, _cross.sg()); 
+         sgdMakeRotMat4(matrix, angle, _cross.data()); 
           SGVec3d newPos(0, 0, 0);
          for(int j = 0; j < 3; j++)
            {