Changeset 496 for trunk/src/rogue/fov_recursive_shadowcasting.cc
- Timestamp:
- 05/31/16 14:04:24 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/rogue/fov_recursive_shadowcasting.cc
r454 r496 59 59 bool transparent = m_map->is_transparent( c ); 60 60 61 if ( dx*dx+dy*dy <= m_radius2&& (m_light_walls || transparent))61 if ( dx*dx+dy*dy <= (m_radius2+1) && (m_light_walls || transparent)) 62 62 { 63 63 m_map->set_visible( c, true );
Note: See TracChangeset
for help on using the changeset viewer.