From f31942d801880542c3ae627b418bfe7acba3662d Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Thu, 8 Nov 2018 20:58:31 +0100 Subject: [PATCH] Level 16 message bug --- Source/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/player.cpp b/Source/player.cpp index 15f2d18ce..73c6589d3 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -4045,7 +4045,7 @@ void __cdecl PlayDungMsgs() sfxdnum = PS_MAGE99; } plr[myplr].pDungMsgs |= DMSG_HELL; - } else if (currlevel == 16 && !plr[myplr]._pLvlVisited[15] && gbMaxPlayers == 1 && !(plr[myplr].pDungMsgs & DMSG_DIABLO)) { + } else if (currlevel == 16 && !plr[myplr]._pLvlVisited[15] && gbMaxPlayers == 1 && !(plr[myplr].pDungMsgs & DMSG_DIABLO)) { // BUGFIX: _pLvlVisited should check 16 or this message will never play sfxdelay = 40; if (plr[myplr]._pClass == PC_WARRIOR || plr[myplr]._pClass == PC_ROGUE || plr[myplr]._pClass == PC_SORCERER) { sfxdnum = PS_DIABLVLINT;