Patch: Fix for "Phyics" [APPLIED]

For collaboration on developing the mod capabilities of VS; request new features, report bugs, or suggest improvements

Moderator: Mod Contributor

Post Reply
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Patch: Fix for "Phyics" [APPLIED]

Post 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"));
]
Last edited by chuck_starchaser on Wed Mar 12, 2008 5:04 pm, edited 4 times in total.
Post Reply