Skip to content

Commit

Permalink
Move DoVisionFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Aug 2, 2023
1 parent 71dc90d commit b5341d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/lighting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,13 @@ void DoVision(Point position, uint8_t radius, MapExplorationType doAutomap, bool
break;
}

if (clearLineOfSight)
DoVisionFlags(target, doAutomap, visible);

int8_t trans = dTransVal[x][y];
if (trans != 0)
TransList[trans] = true;
}

if (clearLineOfSight)
DoVisionFlags(target, doAutomap, visible);
}
}
}
}
Expand Down

0 comments on commit b5341d0

Please sign in to comment.