mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Expose the current episode and skill selection in ud.m_volume_number and ud.m_player_skill while in their respective menus
git-svn-id: https://svn.eduke32.com/eduke32@7804 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1ec5547a9c
commit
844ec0bd63
1 changed files with 8 additions and 0 deletions
|
@ -2060,6 +2060,14 @@ static void Menu_Pre(MenuID_t cm)
|
|||
break;
|
||||
}
|
||||
|
||||
case MENU_EPISODE:
|
||||
ud.m_volume_number = M_EPISODE.currentEntry < g_volumeCnt ? M_EPISODE.currentEntry : -1;
|
||||
break;
|
||||
|
||||
case MENU_SKILL:
|
||||
ud.m_player_skill = M_SKILL.currentEntry+1;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue