… | |
… | |
1461 | unordered_mapwalk (buf, op, -range, -range, range, range) |
1461 | unordered_mapwalk (buf, op, -range, -range, range, range) |
1462 | { |
1462 | { |
1463 | mapspace &ms = m->at (nx, ny); |
1463 | mapspace &ms = m->at (nx, ny); |
1464 | |
1464 | |
1465 | /* If there is nothing living on this space, no need to go further */ |
1465 | /* If there is nothing living on this space, no need to go further */ |
1466 | if (!ms.flags () & P_IS_ALIVE) |
1466 | if (!(ms.flags () & P_IS_ALIVE)) |
1467 | continue; |
1467 | continue; |
1468 | |
1468 | |
1469 | // players can only affect spaces that they can actually see |
1469 | // players can only affect spaces that they can actually see |
1470 | if (caster |
1470 | if (caster |
1471 | && caster->contr |
1471 | && caster->contr |