mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-07-05 22:16:56 +00:00
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:
parent
058d15b41f
commit
daa6140601
1 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue