Changeset 496 for trunk/src/rogue


Ignore:
Timestamp:
05/31/16 14:04:24 (9 years ago)
Author:
epyon
Message:
  • type disambiguition in handle.hh
  • tweak to shadowcasting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/rogue/fov_recursive_shadowcasting.cc

    r454 r496  
    5959                                bool transparent = m_map->is_transparent( c );
    6060
    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))
    6262                                {
    6363                                        m_map->set_visible( c, true );
Note: See TracChangeset for help on using the changeset viewer.