… | |
… | |
151 | style_map = find_style (styledirname, w_style, -1); |
151 | style_map = find_style (styledirname, w_style, -1); |
152 | if (!style_map) |
152 | if (!style_map) |
153 | return; |
153 | return; |
154 | |
154 | |
155 | /* fill up the map with the given floor style */ |
155 | /* fill up the map with the given floor style */ |
156 | if ((the_wall = style_map->pick_random_object ())) |
156 | if ((the_wall = style_map->pick_random_object (rmg_rndm))) |
157 | { |
157 | { |
158 | int i, j; |
158 | int i, j; |
159 | char *cp; |
159 | char *cp; |
160 | int joinedwalls = 0; |
160 | int joinedwalls = 0; |
161 | object *thiswall; |
161 | object *thiswall; |