From c0b2d5569fe757398f87732ee46e75206a05cbed Mon Sep 17 00:00:00 2001 From: obligaron Date: Fri, 9 Jun 2023 17:06:48 +0200 Subject: [PATCH] When checking chamber of bone entry also check the current dungeon level --- Source/levels/trigs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/levels/trigs.cpp b/Source/levels/trigs.cpp index 2da21e190..75765d23e 100644 --- a/Source/levels/trigs.cpp +++ b/Source/levels/trigs.cpp @@ -170,7 +170,7 @@ void InitL2Triggers() numtrigs = 0; for (WorldTileCoord j = 0; j < MAXDUNY; j++) { for (WorldTileCoord i = 0; i < MAXDUNX; i++) { - if (dPiece[i][j] == 266 && (i != Quests[Q_SCHAMB].position.x || j != Quests[Q_SCHAMB].position.y)) { + if (dPiece[i][j] == 266 && (!Quests[Q_SCHAMB].IsAvailable() || i != Quests[Q_SCHAMB].position.x || j != Quests[Q_SCHAMB].position.y)) { trigs[numtrigs].position = { i, j }; trigs[numtrigs]._tmsg = WM_DIABPREVLVL; numtrigs++;