From ea5457d83163cb03928d0d777d48c3c5cab96424 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 14 Jan 2009 15:20:06 +0000 Subject: (svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir. --- src/ai/ai_scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') diff --git a/src/ai/ai_scanner.cpp b/src/ai/ai_scanner.cpp index de2715c9f..2a389fa9d 100644 --- a/src/ai/ai_scanner.cpp +++ b/src/ai/ai_scanner.cpp @@ -133,7 +133,7 @@ void AIScanner::ScanAIDir() FOR_ALL_SEARCHPATHS(sp) { FioAppendDirectory(buf, MAX_PATH, sp, AI_DIR); if (FileExists(buf)) this->ScanDir(buf, false); - ttd_strlcat(buf, "library" PATHSEP, MAX_PATH); + FioAppendDirectory(buf, MAX_PATH, sp, AI_LIBRARY_DIR); if (FileExists(buf)) this->ScanDir(buf, true); } } -- cgit v1.2.3-70-g09d2