… | |
… | |
51 | put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP) |
51 | put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP) |
52 | { |
52 | { |
53 | int i, j; |
53 | int i, j; |
54 | maptile *vdoors; |
54 | maptile *vdoors; |
55 | maptile *hdoors; |
55 | maptile *hdoors; |
56 | char doorpath[128]; |
56 | char doorpath[1024]; |
57 | |
57 | |
58 | if (!strcmp (doorstyle, "none")) |
58 | if (!strcmp (doorstyle, "none")) |
59 | return; |
59 | return; |
60 | |
60 | |
61 | vdoors = find_style ("/styles/doorstyles", doorstyle, -1); |
61 | vdoors = find_style ("/styles/doorstyles", doorstyle, -1); |