foxygit / doom Log in
commit 8d99dbd721ac4c049ce6aeeee3be57b232f2ef8e
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Wed Aug 8 21:14:48 2007 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Wed Aug 8 21:14:48 2007 +0000

    Remove M_FileExists check for steam directories and add them as possible
    search paths anyway.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 953
---
 src/d_iwad.c | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/d_iwad.c b/src/d_iwad.c
index b37b8376..64f40b7d 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -285,8 +285,6 @@ static void CheckSteamEdition(void)
         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 @@ static void CheckSteamEdition(void)

         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);
     }
 }