]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
csqc patch from [515], seems to work with [515]'s dpcsqc test mod, needs a lot of...
[xonotic/darkplaces.git] / console.c
index 0ba430c3e42ecf432b5e43571d727f1a81671982..641bc965c2e7cd0fe08baf3f9ee055eaf7bb898f 100644 (file)
--- a/console.c
+++ b/console.c
@@ -904,6 +904,7 @@ qboolean GetMapList (const char *s, char *completedname, int completednamebuffer
                char keyname[64];
                char entfilename[MAX_QPATH];
                strcpy(message, "^1**ERROR**^7");
+               p = 0;
                f = FS_Open(t->filenames[i], "rb", true, false);
                if(f)
                {