mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Merge branch 'check-defaultdir' into 'master'
Check ~/.srb2kart for srb2.srb See merge request KartKrew/Kart-Public!215
This commit is contained in:
commit
9df376e537
1 changed files with 12 additions and 0 deletions
|
|
@ -3660,6 +3660,18 @@ static const char *locateWad(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef DEFAULTDIR
|
||||||
|
I_OutputMsg(",HOME/" DEFAULTDIR);
|
||||||
|
// examine user jart directory
|
||||||
|
if ((envstr = I_GetEnv("HOME")) != NULL)
|
||||||
|
{
|
||||||
|
sprintf(returnWadPath, "%s" PATHSEP DEFAULTDIR, envstr);
|
||||||
|
if (isWadPathOk(returnWadPath))
|
||||||
|
return returnWadPath;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef CMAKECONFIG
|
#ifdef CMAKECONFIG
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
I_OutputMsg(","CMAKE_ASSETS_DIR);
|
I_OutputMsg(","CMAKE_ASSETS_DIR);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue