Skip to content

Commit

Permalink
Level 16 message bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo authored Nov 8, 2018
1 parent a11b924 commit f31942d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f31942d

Please sign in to comment.