… | |
… | |
46 | |
46 | |
47 | void |
47 | void |
48 | put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP) |
48 | put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP) |
49 | { |
49 | { |
50 | maptile *decor_map; |
50 | maptile *decor_map; |
51 | char style_name[256]; |
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, -1); |
56 | if (decor_map == NULL) |
56 | if (decor_map == NULL) |