Browse Source

fix automap

pull/1306/head
qndel 5 years ago committed by Anders Jenbo
parent
commit
e24f3c83de
  1. 2
      Source/lighting.cpp

2
Source/lighting.cpp

@ -678,7 +678,7 @@ void DoVision(int nXPos, int nYPos, int nRadius, bool doautomap, bool visible)
if (nXPos >= 0 && nXPos <= MAXDUNX && nYPos >= 0 && nYPos <= MAXDUNY) {
if (doautomap) {
if (dFlags[nXPos][nYPos] >= 0) {
SetAutomapView(nXPos, nXPos);
SetAutomapView(nXPos, nYPos);
}
dFlags[nXPos][nYPos] |= BFLAG_EXPLORED;
}

Loading…
Cancel
Save