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

Comparing deliantra/server/random_maps/treasure.C (file contents):
Revision 1.22 by root, Fri Jan 19 21:49:58 2007 UTC vs.
Revision 1.23 by root, Sat Jan 27 00:56:48 2007 UTC

103 /* get the style map */ 103 /* get the style map */
104 sprintf (styledirname, "%s", "/styles/treasurestyles"); 104 sprintf (styledirname, "%s", "/styles/treasurestyles");
105 sprintf (stylefilepath, "%s/%s", styledirname, treasure_style); 105 sprintf (stylefilepath, "%s/%s", styledirname, treasure_style);
106 style_map = find_style (styledirname, treasure_style, -1); 106 style_map = find_style (styledirname, treasure_style, -1);
107 107
108 if (!style_map)
109 {
110 LOG (llevError, "unable to load style map %s %s.\n", styledirname, treasure_style);
111 return;
112 }
113
108 /* all the treasure at one spot in the map. */ 114 /* all the treasure at one spot in the map. */
109 if (treasureoptions & CONCENTRATED) 115 if (treasureoptions & CONCENTRATED)
110 { 116 {
111 117
112 /* map_layout_style global, and is previously set */ 118 /* map_layout_style global, and is previously set */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines