openttd.c
changeset 2687 eb2443a14a74
parent 2685 00111d5ca47f
child 2689 9b010b734253
--- a/openttd.c	Tue Nov 22 22:30:35 2005 +0000
+++ b/openttd.c	Tue Nov 22 22:32:42 2005 +0000
@@ -408,12 +408,15 @@
 	/* Set the debug proc */
 	gpmi_debug_proc = &gpmi_debug_openttd;
 
+	/* Set the script-path (GPMI doesn't support multiple paths, yet!) */
+	gpmi_path_scripts = strdup("ai/scripts");
+
 	/* Initialize GPMI */
 	gpmi_init();
 
 	/* Add our paths so we can find our own packages */
-	gpmi_path_append(&gpmi_path_modules, "gpmi/modules");
-	gpmi_path_append(&gpmi_path_packages, "gpmi/packages");
+	gpmi_path_append(&gpmi_path_modules,  "ai/modules");
+	gpmi_path_append(&gpmi_path_packages, "ai/packages");
 #endif /* GPMI */
 
 #if defined(UNIX) && !defined(__MORPHOS__)