From 37d86d03f5b289f09f3052025b6660823f825184 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 10 Oct 2020 00:09:18 +0200 Subject: [PATCH] - fixed SW's skill-dependent startup lines --- source/sw/src/d_menu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/sw/src/d_menu.cpp b/source/sw/src/d_menu.cpp index 6ca302cc7..bbbb41bf2 100644 --- a/source/sw/src/d_menu.cpp +++ b/source/sw/src/d_menu.cpp @@ -143,13 +143,13 @@ bool GameInterface::StartGame(FNewGameStartup& gs) if (!netgame) { - if (Skill == 0) + if (gs.Skill == 0) PlaySound(DIGI_TAUNTAI3, v3df_none, CHAN_VOICE, CHANF_UI); - else if (Skill == 1) + else if (gs.Skill == 1) PlaySound(DIGI_NOFEAR, v3df_none, CHAN_VOICE, CHANF_UI); - else if (Skill == 2) + else if (gs.Skill == 2) PlaySound(DIGI_WHOWANTSWANG, v3df_none, CHAN_VOICE, CHANF_UI); - else if (Skill == 3) + else if (gs.Skill == 3) PlaySound(DIGI_NOPAIN, v3df_none, CHAN_VOICE, CHANF_UI); while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE))