Browse Source

[hellfire] DoUnLight bin exact

pull/876/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
871ea76ef8
  1. 5
      Source/lighting.cpp

5
Source/lighting.cpp

@ -648,9 +648,10 @@ void DoUnLight(int nXPos, int nYPos, int nRadius)
for (y = min_y; y < max_y; y++) {
for (x = min_x; x < max_x; x++) {
if (x >= 0 && x < MAXDUNX && y >= 0 && y < MAXDUNY) {
#ifdef HELLFIRE
if (x >= 0 && x < MAXDUNX && y >= 0 && y < MAXDUNY)
#endif
dLight[x][y] = dPreLight[x][y];
}
}
}
}

Loading…
Cancel
Save