author | truebrain |
Tue, 10 Jun 2008 18:59:10 +0000 | |
branch | noai |
changeset 10898 | cf5ee9ede576 |
parent 10897 | 05487c72e9fc |
child 10899 | 126faeece8b6 |
--- a/src/ai/ai_squirrel.cpp Tue Jun 10 18:47:31 2008 +0000 +++ b/src/ai/ai_squirrel.cpp Tue Jun 10 18:59:10 2008 +0000 @@ -52,7 +52,7 @@ continue; } } - if (sb.st_mode & S_IFREG) { + if (sb.st_mode & S_IFREG && !library_dir) { char *ext = strrchr(d_name, '.'); if (ext != NULL && strcasecmp(ext, ".tar") != 0) continue;