mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 09:20:51 +00:00
- re-fixed Blood skill selection.
This commit is contained in:
parent
7b57df3c8f
commit
230312e7f3
1 changed files with 2 additions and 3 deletions
|
@ -421,8 +421,7 @@ static void BuildEpisodeMenu()
|
||||||
#endif
|
#endif
|
||||||
if (addedVolumes == 1)
|
if (addedVolumes == 1)
|
||||||
{
|
{
|
||||||
if (!isBlood()) ld->mAutoselect = ld->mItems.Size() - (textadded ? 2 : 1);
|
ld->mAutoselect = ld->mItems.Size() - (textadded ? 2 : 1);
|
||||||
else ld->mAutoselect = 2;
|
|
||||||
}
|
}
|
||||||
if (popped) ld->mItems.Push(popped);
|
if (popped) ld->mItems.Push(popped);
|
||||||
}
|
}
|
||||||
|
@ -438,7 +437,7 @@ static void BuildEpisodeMenu()
|
||||||
{
|
{
|
||||||
ld->mItems.Pop(popped);
|
ld->mItems.Pop(popped);
|
||||||
}
|
}
|
||||||
|
if (isBlood()) gDefaultSkill = 2;
|
||||||
ld->mSelectedItem = gDefaultSkill + ld->mItems.Size(); // account for pre-added items
|
ld->mSelectedItem = gDefaultSkill + ld->mItems.Size(); // account for pre-added items
|
||||||
int y = ld->mYpos;
|
int y = ld->mYpos;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue