1
0
Fork 0

MSVC fix.

This commit is contained in:
ehofman 2005-08-18 09:17:39 +00:00
parent b92f034550
commit 99276dd060

View file

@ -128,7 +128,7 @@ void FGAIShip::Run(double dt) {
// adjust heading based on current rudder angle // adjust heading based on current rudder angle
if (rudder <= -0.25 or rudder >= 0.25) { if (rudder <= -0.25 || rudder >= 0.25) {
/* turn_radius_ft = 0.088362 * speed * speed /* turn_radius_ft = 0.088362 * speed * speed
/ tan( fabs(rudder) / SG_RADIANS_TO_DEGREES ); / tan( fabs(rudder) / SG_RADIANS_TO_DEGREES );
turn_circum_ft = SGD_2PI * turn_radius_ft; turn_circum_ft = SGD_2PI * turn_radius_ft;