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

Comparing deliantra/server/random_maps/decor.C (file contents):
Revision 1.24 by root, Fri Mar 26 01:04:44 2010 UTC vs.
Revision 1.25 by root, Sat Apr 10 01:54:07 2010 UTC

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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines