… | |
… | |
1838 | /* Check the spaces with the max light radius to see if any of them |
1838 | /* Check the spaces with the max light radius to see if any of them |
1839 | * have lights, and if any of them light the player enough, then return 1. |
1839 | * have lights, and if any of them light the player enough, then return 1. |
1840 | */ |
1840 | */ |
1841 | int light = ms.light; |
1841 | int light = ms.light; |
1842 | |
1842 | |
1843 | if (expect_false (light > 0) && idistance (dx, dy) <= light) |
1843 | if (ecb_expect_false (light > 0) && idistance (dx, dy) <= light) |
1844 | return 1; |
1844 | return 1; |
1845 | } |
1845 | } |
1846 | } |
1846 | } |
1847 | |
1847 | |
1848 | return 0; |
1848 | return 0; |