Seperate DEVELOPRRWADDIR from RINGRACERSWADDIR for DEVELOP builds

I would like to have both a development folder and release build folder on my computer, but the develop won't run in the debugger without the waddir variable set, and if it's set the release keeps sniffing my dev files and I_Erroring for bad file hashes on launch
This commit is contained in:
toaster 2026-06-05 22:57:16 +01:00 committed by Eidolon
parent 058d15b41f
commit daa6140601

View file

@ -2376,7 +2376,15 @@ static const char *locateWad(void)
I_OutputMsg("RINGRACERSWADDIR");
// does RINGRACERSWADDIR exist?
if (((envstr = I_GetEnv("RINGRACERSWADDIR")) != NULL) && isWadPathOk(envstr))
#ifdef DEVELOP
if ((envstr = I_GetEnv("DEVELOPRRWADDIR")) == NULL)
#endif
{
envstr = I_GetEnv("RINGRACERSWADDIR");
}
if ((envstr != NULL) && isWadPathOk(envstr))
return envstr;
#ifndef NOCWD