diff options
author | Simon Howard | 2007-08-08 21:14:48 +0000 |
---|---|---|
committer | Simon Howard | 2007-08-08 21:14:48 +0000 |
commit | 8d99dbd721ac4c049ce6aeeee3be57b232f2ef8e (patch) | |
tree | 00c1ed4fd45bb3e3aeae5a8a5b278e2fdd096a1a /src/d_iwad.c | |
parent | a41be6be6732db3c284330da836055960939f691 (diff) | |
download | chocolate-doom-8d99dbd721ac4c049ce6aeeee3be57b232f2ef8e.tar.gz chocolate-doom-8d99dbd721ac4c049ce6aeeee3be57b232f2ef8e.tar.bz2 chocolate-doom-8d99dbd721ac4c049ce6aeeee3be57b232f2ef8e.zip |
Remove M_FileExists check for steam directories and add them as possible
search paths anyway.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 953
Diffstat (limited to 'src/d_iwad.c')
-rw-r--r-- | src/d_iwad.c | 13 |
1 files changed, 1 insertions, 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); } } |