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

Comparing deliantra/server/socket/item.C (file contents):
Revision 1.73 by root, Mon Dec 8 15:40:13 2008 UTC vs.
Revision 1.74 by root, Mon Dec 8 15:55:00 2008 UTC

733 if (client *ns = opl->ns) 733 if (client *ns = opl->ns)
734 { 734 {
735 if (fabs (dx) > ns->mapx / 2 || fabs (dy) > ns->mapy / 2) 735 if (fabs (dx) > ns->mapx / 2 || fabs (dy) > ns->mapy / 2)
736 return; 736 return;
737 737
738 if (opl->blocked_los[dx + ns->mapx / 2][dy + ns->mapy / 2] < LOS_MAX) 738 if (opl->blocked_los[dx + ns->mapx / 2][dy + ns->mapy / 2] >= LOS_MAX)
739 return; 739 return;
740 } 740 }
741 741
742 look_at (pl, dx, dy); 742 look_at (pl, dx, dy);
743} 743}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines