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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.216 by root, Sun Dec 28 06:59:27 2008 UTC vs.
Revision 1.217 by root, Sun Dec 28 08:56:44 2008 UTC

3183 while (op) 3183 while (op)
3184 { 3184 {
3185 dx = rv.distance_x + op->arch->x; 3185 dx = rv.distance_x + op->arch->x;
3186 dy = rv.distance_y + op->arch->y; 3186 dy = rv.distance_y + op->arch->y;
3187 3187
3188 /* only the viewable area the player sees is updated by LOS
3189 * code, so we need to restrict ourselves to that range of values
3190 * for any meaningful values.
3191 */
3192 if (pl->contr->blocked_los (dx, dy) != LOS_BLOCKED) 3188 if (pl->contr->blocked_los (dx, dy) != LOS_BLOCKED)
3193 return 1; 3189 return 1;
3194 3190
3195 op = op->more; 3191 op = op->more;
3196 } 3192 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines