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

Comparing deliantra/server/random_maps/floor.C (file contents):
Revision 1.18 by root, Fri Apr 11 21:09:53 2008 UTC vs.
Revision 1.19 by root, Sun May 4 14:12:37 2008 UTC

49 49
50 if (!style_map) 50 if (!style_map)
51 return; 51 return;
52 52
53 /* fill up the map with the given floor style */ 53 /* fill up the map with the given floor style */
54 if ((the_floor = style_map->pick_random_object ())) 54 if ((the_floor = style_map->pick_random_object (rmg_rndm)))
55 for (int x = 0; x < width; x++) 55 for (int x = 0; x < width; x++)
56 for (int y = 0; y < height; y++) 56 for (int y = 0; y < height; y++)
57 insert (the_floor->clone (), x, y, 0, INS_NO_MERGE | INS_NO_WALK_ON); 57 insert (the_floor->clone (), x, y, 0, INS_NO_MERGE | INS_NO_WALK_ON);
58} 58}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines