mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r15106) -Fix [NoAI]: printf-ing of garbage.
This commit is contained in:
parent
e4127c7e5e
commit
65ae906940
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user