- SW: Set default skill level to match original release and what the manual says is default.

This commit is contained in:
Mitchell Richters 2021-07-11 12:08:12 +10:00
parent 172b77b9e7
commit ffba10a7c5
2 changed files with 6 additions and 1 deletions

View file

@ -197,6 +197,11 @@ inline bool isBlood()
return g_gameType & GAMEFLAG_BLOOD;
}
inline bool isSWALL()
{
return g_gameType & (GAMEFLAG_SW | GAMEFLAG_SWWANTON | GAMEFLAG_SWTWINDRAG);
}
TArray<GrpEntry> GrpScan();
void S_PauseSound(bool notmusic, bool notsfx);
void S_ResumeSound(bool notsfx);

View file

@ -465,7 +465,7 @@ static void BuildEpisodeMenu()
{
ld->mItems.Pop(popped);
}
if (isBlood()) gDefaultSkill = 2;
if (isBlood() || isSWALL()) gDefaultSkill = 2;
ld->mSelectedItem = gDefaultSkill + ld->mItems.Size(); // account for pre-added items
double y = ld->mYpos;