Skip to content

Commit

Permalink
- SW: Set default skill level to match original release and what the …
Browse files Browse the repository at this point in the history
…manual says is default.
  • Loading branch information
mjr4077au committed Jul 17, 2021
1 parent 98fbbeb commit 45dcbbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions source/core/gamecontrol.h
Expand Up @@ -208,6 +208,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);
Expand Down
2 changes: 1 addition & 1 deletion source/core/menu/razemenu.cpp
Expand Up @@ -463,7 +463,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
int y = ld->mYpos;

Expand Down

0 comments on commit 45dcbbc

Please sign in to comment.