mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- Blood: Revise 6018213c71
and use the proper volume flag VF_HIDEFROMSP
to hide multiplayer episodes from the menu.
This commit is contained in:
parent
5441272bec
commit
5af06923d8
1 changed files with 1 additions and 2 deletions
|
@ -166,14 +166,13 @@ void levelLoadDefaults(void)
|
|||
sprintf(buffer, "Episode%d", i);
|
||||
if (!BloodINI->SectionExists(buffer))
|
||||
break;
|
||||
if (BloodINI->GetKeyInt(buffer, "BloodBathOnly", 0))
|
||||
continue;
|
||||
auto cluster = MustFindCluster(i);
|
||||
auto volume = MustFindVolume(i);
|
||||
CutsceneDef &csB = cluster->outro;
|
||||
auto ep_str = BloodINI->GetKeyString(buffer, "Title", buffer);
|
||||
cluster->name = volume->name = ep_str;
|
||||
if (i > 1) volume->flags |= VF_SHAREWARELOCK;
|
||||
if (BloodINI->GetKeyInt(buffer, "BloodBathOnly", 0)) volume->flags |= VF_HIDEFROMSP;
|
||||
|
||||
csB.video = cleanPath(BloodINI->GetKeyString(buffer, "CutSceneB", ""));
|
||||
int soundint = BloodINI->GetKeyInt(buffer, "CutWavB", -1);
|
||||
|
|
Loading…
Reference in a new issue