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

Comparing deliantra/server/common/los.C (file contents):
Revision 1.33 by root, Thu Dec 4 03:48:37 2008 UTC vs.
Revision 1.34 by root, Thu Dec 4 03:52:00 2008 UTC

421 min_it (op->contr->blocked_los[ax][ay], darkness_table [idistance (ax - basex, ay - basey)]); 421 min_it (op->contr->blocked_los[ax][ay], darkness_table [idistance (ax - basex, ay - basey)]);
422 } 422 }
423 } 423 }
424 424
425 // psosibly do 2nd pass for rare negative glow radii 425 // psosibly do 2nd pass for rare negative glow radii
426 if (pass2) 426 if (expect_false (pass2))
427 for (x = min_x, basex = -MAX_LIGHT_RADIUS; x <= max_x; x++, basex++) 427 for (x = min_x, basex = -MAX_LIGHT_RADIUS; x <= max_x; x++, basex++)
428 for (y = min_y, basey = -MAX_LIGHT_RADIUS; y <= max_y; y++, basey++) 428 for (y = min_y, basey = -MAX_LIGHT_RADIUS; y <= max_y; y++, basey++)
429 { 429 {
430 maptile *m = op->map; 430 maptile *m = op->map;
431 sint16 nx = x; 431 sint16 nx = x;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines