mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-07 07:21:10 +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;
|
return g_gameType & GAMEFLAG_BLOOD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline bool isSWALL()
|
||||||
|
{
|
||||||
|
return g_gameType & (GAMEFLAG_SW | GAMEFLAG_SWWANTON | GAMEFLAG_SWTWINDRAG);
|
||||||
|
}
|
||||||
|
|
||||||
TArray<GrpEntry> GrpScan();
|
TArray<GrpEntry> GrpScan();
|
||||||
void S_PauseSound(bool notmusic, bool notsfx);
|
void S_PauseSound(bool notmusic, bool notsfx);
|
||||||
void S_ResumeSound(bool notsfx);
|
void S_ResumeSound(bool notsfx);
|
||||||
|
|
|
@ -465,7 +465,7 @@ static void BuildEpisodeMenu()
|
||||||
{
|
{
|
||||||
ld->mItems.Pop(popped);
|
ld->mItems.Pop(popped);
|
||||||
}
|
}
|
||||||
if (isBlood()) gDefaultSkill = 2;
|
if (isBlood() || isSWALL()) gDefaultSkill = 2;
|
||||||
ld->mSelectedItem = gDefaultSkill + ld->mItems.Size(); // account for pre-added items
|
ld->mSelectedItem = gDefaultSkill + ld->mItems.Size(); // account for pre-added items
|
||||||
double y = ld->mYpos;
|
double y = ld->mYpos;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue