mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- SW: Set default skill level to match original release and what the manual says is default.
This commit is contained in:
parent
172b77b9e7
commit
ffba10a7c5
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue