From 6488f520556c1eef504d3e7e49168b84403ba6d2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 29 Sep 2020 18:30:00 +0200 Subject: [PATCH] - fixed: Restarting after dying unset the currently selected skill level. --- source/games/duke/src/premap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/games/duke/src/premap.cpp b/source/games/duke/src/premap.cpp index 06a0609be..2c56eef1c 100644 --- a/source/games/duke/src/premap.cpp +++ b/source/games/duke/src/premap.cpp @@ -990,6 +990,7 @@ void enterlevel(MapRecord *mi, int gamemode) void startnewgame(MapRecord* map, int skill) { + if (skill == -1) skill = ud.player_skill; ud.player_skill = skill; ud.m_respawn_monsters = (skill == 4); ud.m_monsters_off = ud.monsters_off = 0;