- fixed SW's skill-dependent startup lines

This commit is contained in:
Christoph Oelckers 2020-10-10 00:09:18 +02:00
parent 03e57fa3d7
commit 37d86d03f5

View file

@ -143,13 +143,13 @@ bool GameInterface::StartGame(FNewGameStartup& gs)
if (!netgame) if (!netgame)
{ {
if (Skill == 0) if (gs.Skill == 0)
PlaySound(DIGI_TAUNTAI3, v3df_none, CHAN_VOICE, CHANF_UI); 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); 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); 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); PlaySound(DIGI_NOPAIN, v3df_none, CHAN_VOICE, CHANF_UI);
while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE)) while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE))