And fix eg playdemo arg completion too.

This commit is contained in:
Shpoike 2021-03-18 12:54:12 +00:00
parent d6a25b37bc
commit 3f6c3a9da5

View file

@ -323,7 +323,7 @@ void DemoList_Init (void)
for (search = com_searchpaths; search; search = search->next) for (search = com_searchpaths; search; search = search->next)
{ {
if (*search->filename) //directory if (!search->pack) //directory
{ {
#ifdef _WIN32 #ifdef _WIN32
q_snprintf (filestring, sizeof(filestring), "%s/*.dem", search->filename); q_snprintf (filestring, sizeof(filestring), "%s/*.dem", search->filename);