… | … | ||
---|---|---|---|
3463 | } | 3463 | } |
3464 | 3464 | ||
3465 | sint8 | 3465 | sint8 |
3466 | player::darkness_at (maptile *map, int x, int y) const | 3466 | player::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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |