Compare commits

...
3 Commits
Author SHA1 Message Date
Alug 443905ffb3 Revert "Don't traverse the entire HOME directory to find wads"
This reverts commit 1f019ed277.
2024-04-20 11:42:21 +02:00
Alug 6f293945fd add qs22j to cmakelist 2024-04-13 18:40:14 +02:00
indev bce914df6e Don't call menu drawer in wipes on dedicated servers 2024-04-06 01:47:27 +03:00
3 changed files with 4 additions and 6 deletions

No files matched your search

+2
View File
@@ -38,6 +38,7 @@ set(SRB2_CORE_SOURCES
md5.c md5.c
mserv.c mserv.c
http-mserv.c http-mserv.c
qs22j.c
s_sound.c s_sound.c
screen.c screen.c
sounds.c sounds.c
@@ -105,6 +106,7 @@ set(SRB2_CORE_HEADERS
m_swap.h m_swap.h
md5.h md5.h
mserv.h mserv.h
qs22j.h
s_sound.h s_sound.h
screen.h screen.h
sounds.h sounds.h
+1 -1
View File
@@ -383,7 +383,7 @@ void F_RunWipe(UINT8 wipetype, boolean drawMenu)
I_OsPolling(); I_OsPolling();
I_UpdateNoBlit(); I_UpdateNoBlit();
if (drawMenu) if (rendermode != render_none && drawMenu)
{ {
#ifdef HAVE_THREADS #ifdef HAVE_THREADS
I_lock_mutex(&m_menu_mutex); I_lock_mutex(&m_menu_mutex);
+1 -5
View File
@@ -4039,16 +4039,12 @@ static const char *locateWad(void)
#endif #endif
#ifndef NOHOME #ifndef NOHOME
// find in $HOME // find in $HOME
I_OutputMsg(",HOME/" DEFAULTDIR); I_OutputMsg(",HOME");
if ((envstr = I_GetEnv("HOME")) != NULL) if ((envstr = I_GetEnv("HOME")) != NULL)
{ {
char *tmp = malloc(strlen(envstr) + sizeof(DEFAULTDIR));
strcpy(tmp, envstr);
strcat(tmp, DEFAULTDIR);
WadPath = searchWad(envstr); WadPath = searchWad(envstr);
if (WadPath) if (WadPath)
return WadPath; return WadPath;
free(tmp);
} }
#endif #endif
#ifdef DEFAULTSEARCHPATH1 #ifdef DEFAULTSEARCHPATH1