mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-14 06:50:50 +00:00
- allow forks to set OPTIONALWAD to (null) to disable searching for it.
This commit is contained in:
parent
3e10e3f551
commit
1d04bd36d0
2 changed files with 2 additions and 1 deletions
|
@ -824,7 +824,7 @@ int FIWadManager::IdentifyVersion (std::vector<std::string>&wadfiles, const char
|
|||
|
||||
// [SP] Load non-free assets if available. This must be done before the IWAD.
|
||||
int iwadnum = 1;
|
||||
if (D_AddFile(wadfiles, optional_wad, true, -1, GameConfig))
|
||||
if (optional_wad && D_AddFile(wadfiles, optional_wad, true, -1, GameConfig))
|
||||
{
|
||||
iwadnum++;
|
||||
}
|
||||
|
|
|
@ -93,6 +93,7 @@ const char *GetVersionString();
|
|||
// This is so that derivates can use the same savegame versions without worrying about engine compatibility
|
||||
#define GAMESIG "GZDOOM"
|
||||
#define BASEWAD "gzdoom.pk3"
|
||||
// Set OPTIONALWAD to "" (null) to disable searching for it
|
||||
#define OPTIONALWAD "game_support.pk3"
|
||||
#define GZDOOM 1
|
||||
#define VR3D_ENABLED
|
||||
|
|
Loading…
Reference in a new issue