mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
- Hide Exhumed frontend behind a -experimental switch.
Since the NBlood and PCExhumed repos got merged, keeping separate branches may become a bit of a hassle, so now there is only one branch, but this game will not be shown to regular users until it gets more stable.
This commit is contained in:
parent
f576774e69
commit
d6c129b825
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "common.h"
|
||||
#include "version.h"
|
||||
#include "gamecontrol.h"
|
||||
#include "m_argv.h"
|
||||
#include "filesystem/filesystem.h"
|
||||
|
||||
static const char* res_exts[] = { ".grp", ".zip", ".pk3", ".pk4", ".7z", ".pk7" };
|
||||
|
@ -827,6 +828,12 @@ static TArray<GrpInfo> ParseGrpInfo(const char *fn, FileReader &fr, TMap<FString
|
|||
}
|
||||
else sc.ScriptError(nullptr);
|
||||
}
|
||||
#ifndef _DEBUG // Exhumed is not yet ready for prime time, so it will remain hidden for the uninitiated.
|
||||
if ((grp.flags & GAMEFLAG_PSEXHUMED) && !Args->CheckParm("-experimental"))
|
||||
{
|
||||
groups.Pop();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else sc.ScriptError(nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue