mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-18 20:19:11 +00:00
(svn r15106) -Fix [NoAI]: printf-ing of garbage.
This commit is contained in:
@@ -101,7 +101,7 @@ void AIScanner::ScanDir(const char *dirname, bool library_scan, bool library_rec
|
||||
ttd_strlcat(main_script, "main.nut", sizeof(main_script));
|
||||
if (!FioCheckFileExists(library_script, AI_LIBRARY_DIR) || !FioCheckFileExists(main_script, AI_LIBRARY_DIR)) continue;
|
||||
|
||||
DEBUG(ai, 6, "Loading AI Library '%s' at location '%s'", main_script);
|
||||
DEBUG(ai, 6, "Loading AI Library at location '%s'", main_script);
|
||||
this->engine->LoadScript(library_script);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user