mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- fixed: Restarting after dying unset the currently selected skill level.
This commit is contained in:
parent
a558703740
commit
6488f52055
1 changed files with 1 additions and 0 deletions
|
@ -990,6 +990,7 @@ void enterlevel(MapRecord *mi, int gamemode)
|
||||||
|
|
||||||
void startnewgame(MapRecord* map, int skill)
|
void startnewgame(MapRecord* map, int skill)
|
||||||
{
|
{
|
||||||
|
if (skill == -1) skill = ud.player_skill;
|
||||||
ud.player_skill = skill;
|
ud.player_skill = skill;
|
||||||
ud.m_respawn_monsters = (skill == 4);
|
ud.m_respawn_monsters = (skill == 4);
|
||||||
ud.m_monsters_off = ud.monsters_off = 0;
|
ud.m_monsters_off = ud.monsters_off = 0;
|
||||||
|
|
Loading…
Reference in a new issue