Browse Source

Update bugfix comment

pull/1108/head
Anders Jenbo 5 years ago
parent
commit
a60a620e51
  1. 2
      Source/lighting.cpp

2
Source/lighting.cpp

@ -1173,7 +1173,7 @@ void InitVision()
int AddVision(int x, int y, int r, BOOL mine)
{
int vid = -1; // BUGFIX: if numvision >= MAXVISION behavior is undefined
int vid = -1; // BUGFIX: if numvision >= MAXVISION behavior is undefined (fixed)
if (numvision < MAXVISION) {
VisionList[numvision]._lx = x;

Loading…
Cancel
Save