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.37 by root, Thu Dec 18 02:49:22 2008 UTC vs.
Revision 1.38 by root, Thu Dec 18 05:13:38 2008 UTC

405 if (op->contr->blocked_los[ax][ay] != LOS_BLOCKED) 405 if (op->contr->blocked_los[ax][ay] != LOS_BLOCKED)
406 min_it (op->contr->blocked_los[ax][ay], darkness_table [idistance (ax - basex, ay - basey)]); 406 min_it (op->contr->blocked_los[ax][ay], darkness_table [idistance (ax - basex, ay - basey)]);
407 } 407 }
408 } 408 }
409 409
410 // psosibly do 2nd pass for rare negative glow radii 410 // possibly do 2nd pass for rare negative glow radii
411 if (expect_false (pass2)) 411 if (expect_false (pass2))
412 for (x = min_x, basex = -MAX_LIGHT_RADIUS; x <= max_x; x++, basex++) 412 for (x = min_x, basex = -MAX_LIGHT_RADIUS; x <= max_x; x++, basex++)
413 for (y = min_y, basey = -MAX_LIGHT_RADIUS; y <= max_y; y++, basey++) 413 for (y = min_y, basey = -MAX_LIGHT_RADIUS; y <= max_y; y++, basey++)
414 { 414 {
415 maptile *m = op->map; 415 maptile *m = op->map;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines