… | |
… | |
1545 | range = spell->range + SP_level_range_adjust (caster, spell); |
1545 | range = spell->range + SP_level_range_adjust (caster, spell); |
1546 | |
1546 | |
1547 | if (!skill) |
1547 | if (!skill) |
1548 | skill = caster; |
1548 | skill = caster; |
1549 | |
1549 | |
|
|
1550 | dynbuf buf; |
1550 | unordered_mapwalk (op, -range, -range, range, range) |
1551 | unordered_mapwalk (buf, op, -range, -range, range, range) |
1551 | { |
1552 | { |
1552 | /* For most of the detections, we only detect objects above the |
1553 | /* For most of the detections, we only detect objects above the |
1553 | * floor. But this is not true for show invisible. |
1554 | * floor. But this is not true for show invisible. |
1554 | * Basically, we just go and find the top object and work |
1555 | * Basically, we just go and find the top object and work |
1555 | * down - that is easier than working up. |
1556 | * down - that is easier than working up. |