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

Comparing deliantra/server/random_maps/wall.C (file contents):
Revision 1.18 by root, Mon Feb 5 01:24:45 2007 UTC vs.
Revision 1.19 by root, Sat Feb 17 23:32:11 2007 UTC

148 style_map = find_style (styledirname, w_style, -1); 148 style_map = find_style (styledirname, w_style, -1);
149 if (!style_map) 149 if (!style_map)
150 return; 150 return;
151 151
152 /* fill up the map with the given floor style */ 152 /* fill up the map with the given floor style */
153 if ((the_wall = pick_random_object (style_map)) != NULL) 153 if ((the_wall = style_map->pick_random_object ()))
154 { 154 {
155 int i, j; 155 int i, j;
156 char *cp; 156 char *cp;
157 int joinedwalls = 0; 157 int joinedwalls = 0;
158 object *thiswall; 158 object *thiswall;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines