--- cf.schmorp.de/server/random_maps/decor.C 2007/01/27 02:19:37 1.13 +++ cf.schmorp.de/server/random_maps/decor.C 2007/04/15 14:15:14 1.15 @@ -80,13 +80,13 @@ { /* empty */ object *this_object; - new_decor_object = pick_random_object (decor_map); + new_decor_object = decor_map->pick_random_object (); this_object = arch_to_object (new_decor_object->arch); new_decor_object->copy_to (this_object); this_object->x = x; this_object->y = y; /* it screws things up if decor can stop people */ - this_object->move_block = MOVE_BLOCK_DEFAULT; + this_object->move_block = 0; insert_ob_in_map (this_object, map, NULL, 0); number_to_place--; } @@ -106,13 +106,13 @@ { object *new_decor_object, *this_object; - new_decor_object = pick_random_object (decor_map); + new_decor_object = decor_map->pick_random_object (); this_object = arch_to_object (new_decor_object->arch); new_decor_object->copy_to (this_object); this_object->x = i; this_object->y = j; /* it screws things up if decor can stop people */ - this_object->move_block = MOVE_BLOCK_DEFAULT; + this_object->move_block = 0; insert_ob_in_map (this_object, map, NULL, 0); } }