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.215 by root, Sat Dec 27 08:01:07 2008 UTC vs.
Revision 1.216 by root, Sun Dec 28 06:59:27 2008 UTC

3463} 3463}
3464 3464
3465sint8 3465sint8
3466player::darkness_at (maptile *map, int x, int y) const 3466player::darkness_at (maptile *map, int x, int y) const
3467{ 3467{
3468 if (ns) 3468 if (!ns)
3469 return LOS_BLOCKED; 3469 return LOS_BLOCKED;
3470 3470
3471 int dx, dy; 3471 int dx, dy;
3472 if (!adjacent_map (map, ns->current_map, &dx, &dy)) 3472 if (!adjacent_map (map, ns->current_map, &dx, &dy))
3473 return LOS_BLOCKED; 3473 return LOS_BLOCKED;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines