--- deliantra/server/random_maps/decor.C 2006/09/16 22:24:12 1.4 +++ deliantra/server/random_maps/decor.C 2006/12/12 21:39:56 1.5 @@ -79,7 +79,7 @@ new_decor_object = pick_random_object (decor_map); this_object = arch_to_object (new_decor_object->arch); - copy_object (new_decor_object, this_object); + new_decor_object->copy_to (this_object); this_object->x = x; this_object->y = y; /* it screws things up if decor can stop people */ @@ -105,7 +105,7 @@ new_decor_object = pick_random_object (decor_map); this_object = arch_to_object (new_decor_object->arch); - copy_object (new_decor_object, this_object); + new_decor_object->copy_to (this_object); this_object->x = i; this_object->y = j; /* it screws things up if decor can stop people */