… | |
… | |
52 | |
52 | |
53 | /* fill up the map with the given floor style */ |
53 | /* fill up the map with the given floor style */ |
54 | if ((the_floor = style_map->pick_random_object ())) |
54 | if ((the_floor = style_map->pick_random_object ())) |
55 | for (int x = 0; x < width; x++) |
55 | for (int x = 0; x < width; x++) |
56 | for (int y = 0; y < height; y++) |
56 | for (int y = 0; y < height; y++) |
57 | insert (arch_to_object (the_floor->arch), x, y, 0, INS_NO_MERGE | INS_NO_WALK_ON); |
57 | insert (the_floor->clone (), x, y, 0, INS_NO_MERGE | INS_NO_WALK_ON); |
58 | } |
58 | } |