… | |
… | |
50 | maptile *decor_map; |
50 | maptile *decor_map; |
51 | char style_name[1024]; |
51 | char style_name[1024]; |
52 | |
52 | |
53 | sprintf (style_name, "/styles/decorstyles"); |
53 | sprintf (style_name, "/styles/decorstyles"); |
54 | |
54 | |
55 | decor_map = find_style (style_name, decorstyle, -1); |
55 | decor_map = find_style (style_name, decorstyle, RP->difficulty); |
56 | if (!decor_map) |
56 | if (!decor_map) |
57 | return; |
57 | return; |
58 | |
58 | |
59 | /* pick a random option, only 1 option right now. */ |
59 | /* pick a random option, only 1 option right now. */ |
60 | if (decor_option == 0) |
60 | if (decor_option == 0) |