- fixed: Restarting after dying unset the currently selected skill level.

This commit is contained in:
Christoph Oelckers 2020-09-29 18:30:00 +02:00
parent a558703740
commit 6488f52055

View file

@ -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;