- Duke: Fix skill level coming in from main loop.

This commit is contained in:
Mitchell Richters 2020-09-26 08:55:10 +10:00
parent 64607834f3
commit 6e9576b871

View file

@ -765,7 +765,7 @@ void donewgame(MapRecord* map, int sk)
show_shareware = 26 * 34;
//ud.nextLevel = map;
ud.player_skill = sk;
ud.player_skill = sk != -1 ? sk + 1 : sk;
ud.secretlevel = 0;
ud.from_bonus = 0;
@ -990,7 +990,6 @@ void enterlevel(MapRecord *mi, int gamemode)
void startnewgame(MapRecord* map, int skill)
{
ud.player_skill = skill;
ud.m_respawn_monsters = (skill == 4);
ud.m_monsters_off = ud.monsters_off = 0;
ud.m_respawn_items = 0;