From: Torsten Dreyer Date: Mon, 8 Jun 2015 11:19:51 +0000 (+0200) Subject: Fix MSVC compile error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b564b255579258a6ae853cdf9d537ac173d14bb;p=flightgear.git Fix MSVC compile error --- diff --git a/src/AIModel/AIMultiplayer.cxx b/src/AIModel/AIMultiplayer.cxx index 7021269f3..f79ca4153 100644 --- a/src/AIModel/AIMultiplayer.cxx +++ b/src/AIModel/AIMultiplayer.cxx @@ -385,7 +385,7 @@ void FGAIMultiplayer::update(double dt) // not doing rotationnal prediction for small speed or rotation rate, // to avoid agitated parked plane - if (( norm(angularVel) > 0.05 ) or ( normVel > 1.0 )) { + if (( norm(angularVel) > 0.05 ) || ( normVel > 1.0 )) { ecOrient += t*ecOrient.derivative(angularVel); }