… | … | ||
---|---|---|---|
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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |