ref: 8d99dbd721ac4c049ce6aeeee3be57b232f2ef8e
parent: a41be6be6732db3c284330da836055960939f691
author: Simon Howard <fraggle@gmail.com>
date: Wed Aug 8 17:14:48 EDT 2007
Remove M_FileExists check for steam directories and add them as possible search paths anyway. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 953
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -285,8 +285,6 @@
return;
}
- fprintf(stderr, "Found Steam in %s\n", install_path);
-
for (i=0; i<arrlen(steam_install_subdirs); ++i)
{
subpath = malloc(strlen(install_path)
@@ -294,16 +292,7 @@
sprintf(subpath, "%s\\%s", install_path, steam_install_subdirs[i]);
- if (M_FileExists(subpath))
- {
- fprintf(stderr, "Steam IWADs in %s\n", subpath);
- AddIWADDir(subpath);
- }
- else
- {
- fprintf(stderr, "%s not found\n", subpath);
- free(subpath);
- }
+ AddIWADDir(subpath);
}
}