ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/special.C
(Generate patch)

Comparing deliantra/server/random_maps/special.C (file contents):
Revision 1.35 by root, Mon Sep 29 10:32:50 2008 UTC vs.
Revision 1.36 by root, Thu Jan 8 03:03:24 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines