summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c
index 67c891e4..576ad9d2 100644
--- a/src/qcommon/files.c
+++ b/src/qcommon/files.c
@@ -1288,6 +1288,7 @@ long FS_FOpenFileReadDir(const char *filename, searchpath_t *search, fileHandle_
return FS_fplength(filep);
}
+ *file = 0;
return -1;
}