Page 1 of 1

Patch: Fix for "Phyics" [APPLIED]

Posted: Sun Mar 09, 2008 5:04 am
by chuck_starchaser
Patch, from Wolphin:

Code: Select all

Index: src/cmd/ai/navigation.cpp
===================================================================
--- src/cmd/ai/navigation.cpp   (revision 11957)
+++ src/cmd/ai/navigation.cpp   (working copy)
@@ -529,7 +529,7 @@
    parent->autopilotactive=false;
     return;
   }
-  static bool compensate_for_interdiction=XMLSupport::parse_bool(vs_config->getVariable("phyics","autopilot_compensate_for_interdiction","false"));
+  static bool compensate_for_interdiction=XMLSupport::parse_bool(vs_config->getVariable("physics","autopilot_compensate_for_interdiction","false"));
   static float enough_warp_for_cruise=XMLSupport::parse_float(vs_config->getVariable("physics","enough_warp_for_cruise","1000"));
   static float go_perpendicular_speed=XMLSupport::parse_float(vs_config->getVariable("physics","warp_perpendicular","80"));
   static float min_warp_orbit_radius=XMLSupport::parse_float(vs_config->getVariable("physics","min_warp_orbit_radius","100000000"));
]