… | |
… | |
76 | continue; |
76 | continue; |
77 | |
77 | |
78 | object *new_ob = tmp->deep_clone (); |
78 | object *new_ob = tmp->deep_clone (); |
79 | |
79 | |
80 | if (QUERY_FLAG (tmp, FLAG_IS_LINKED)) |
80 | if (QUERY_FLAG (tmp, FLAG_IS_LINKED)) |
81 | add_button_link (new_ob, dest_map, tmp->path_attuned); |
81 | new_ob->add_link (dest_map, tmp->find_link ()->id); |
82 | |
82 | |
83 | dest_map->insert (new_ob, x + i, y + j, 0, INS_NO_MERGE | INS_NO_WALK_ON); |
83 | dest_map->insert (new_ob, x + i, y + j, 0, INS_NO_MERGE | INS_NO_WALK_ON); |
84 | } |
84 | } |
85 | } |
85 | } |
86 | |
86 | |