From af9f2f3eb62300ec8391ff13a6c8919bd4f6943f Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 20 Jul 2021 18:55:16 +1000 Subject: [PATCH] - Duke: Ensure `gi->NextLevel()` sets the skill level upon invocation. --- source/games/duke/src/gameloop.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/games/duke/src/gameloop.cpp b/source/games/duke/src/gameloop.cpp index d18172984..381450518 100644 --- a/source/games/duke/src/gameloop.cpp +++ b/source/games/duke/src/gameloop.cpp @@ -142,6 +142,7 @@ void GameInterface::Render() void GameInterface::NextLevel(MapRecord* map, int skill) { + ud.player_skill = skill + 1; enterlevel(map, 0); }