ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/style.C
(Generate patch)

Comparing deliantra/server/random_maps/style.C (file contents):
Revision 1.17 by root, Sun Dec 31 19:02:24 2006 UTC vs.
Revision 1.18 by root, Sun Dec 31 20:46:17 2006 UTC

95} 95}
96 96
97maptile * 97maptile *
98find_style (const char *dirname, const char *stylename, int difficulty) 98find_style (const char *dirname, const char *stylename, int difficulty)
99{ 99{
100 char style_file_path[256]; 100 char style_file_path[1024];
101 char style_file_full_path[256]; 101 char style_file_full_path[1024];
102 maptile *style_map = NULL; 102 maptile *style_map = NULL;
103 struct stat file_stat; 103 struct stat file_stat;
104 int i, only_subdirs = 0; 104 int i, only_subdirs = 0;
105 105
106 /* if stylename exists, set style_file_path to that file. */ 106 /* if stylename exists, set style_file_path to that file. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines