… | |
… | |
404 | if (OB_TYPE_MOVE_BLOCK (op, ms.move_block)) |
404 | if (OB_TYPE_MOVE_BLOCK (op, ms.move_block)) |
405 | return 0; |
405 | return 0; |
406 | |
406 | |
407 | int max_effects = 5; // max. number of similar spells per mapspace |
407 | int max_effects = 5; // max. number of similar spells per mapspace |
408 | |
408 | |
409 | for (object *tmp = ms.bot; tmp; tmp = tmp->above) |
409 | for (object *tmp = ms.top; tmp; tmp = tmp->below) |
410 | { |
410 | { |
411 | /* If there is a counterspell on the space, and this |
411 | /* If there is a counterspell on the space, and this |
412 | * object is using magic, don't progress. I believe we could |
412 | * object is using magic, don't progress. I believe we could |
413 | * leave this out and let in progress, and other areas of the code |
413 | * leave this out and let in progress, and other areas of the code |
414 | * will then remove it, but that would seem to to use more |
414 | * will then remove it, but that would seem to to use more |