… | |
… | |
2099 | if (infect_object (walk, disease, 1)) |
2099 | if (infect_object (walk, disease, 1)) |
2100 | { |
2100 | { |
2101 | new_draw_info_format (NDI_UNIQUE, 0, op, "You inflict %s on %s!", &disease->name, &walk->name); |
2101 | new_draw_info_format (NDI_UNIQUE, 0, op, "You inflict %s on %s!", &disease->name, &walk->name); |
2102 | |
2102 | |
2103 | disease->destroy (); /* don't need this one anymore */ |
2103 | disease->destroy (); /* don't need this one anymore */ |
2104 | walk->map->insert (get_archetype (ARCH_DETECT_MAGIC), x, y, op); |
2104 | walk->map->insert (get_archetype ("detect_magic"), x, y, op); |
2105 | return 1; |
2105 | return 1; |
2106 | } |
2106 | } |
2107 | |
2107 | |
2108 | disease->destroy (); |
2108 | disease->destroy (); |
2109 | } |
2109 | } |