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.12 by root, Sat Jan 13 23:06:13 2007 UTC vs.
Revision 1.13 by root, Wed Feb 14 01:33:24 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines