Skip to content

Commit

Permalink
Fix use of X constant for Y dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
ephphatha committed Sep 1, 2021
1 parent ab407ad commit ec0495f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ec0495f

Please sign in to comment.