ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/monster.C
(Generate patch)

Comparing deliantra/server/server/monster.C (file contents):
Revision 1.100 by root, Sat Nov 17 23:40:04 2018 UTC vs.
Revision 1.101 by root, Wed Dec 5 19:03:27 2018 UTC

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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines