From ec0495f3224403205d12a01a793e2fe4958c1a24 Mon Sep 17 00:00:00 2001 From: ephphatha Date: Wed, 1 Sep 2021 19:06:24 +1000 Subject: [PATCH] Fix use of X constant for Y dimension --- Source/objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/objects.cpp b/Source/objects.cpp index 5fb673d82977..70636768c766 100644 --- a/Source/objects.cpp +++ b/Source/objects.cpp @@ -3208,7 +3208,7 @@ bool OperateShrineSecluded(int pnum) if (pnum != MyPlayerId) return true; - std::fill(&AutomapView[0][0], &AutomapView[DMAXX - 1][DMAXX - 1], true); + std::fill(&AutomapView[0][0], &AutomapView[DMAXX - 1][DMAXY - 1], true); InitDiabloMsg(EMSG_SHRINE_SECLUDED);