MSVC fix.
This commit is contained in:
parent
b92f034550
commit
99276dd060
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue