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

Patch: Fix for "Phyics" [APPLIED]

Postby chuck_starchaser » Sat Mar 08, 2008 10:04 pm

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 10:04 am, edited 4 times in total.
User avatar
chuck_starchaser
Elite
Elite
 
Posts: 8014
Topics: 195
Joined: Thu Sep 04, 2003 9:03 pm
Location: Montreal

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Return to Modding Engine Room

Who is online

Users browsing this forum: No registered users and 2 guests

cron