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

Comparing deliantra/server/random_maps/random_map.C (file contents):
Revision 1.15 by root, Sun Dec 31 20:48:27 2006 UTC vs.
Revision 1.16 by root, Sun Dec 31 21:02:05 2006 UTC

773 } 773 }
774 774
775 if (RP->origin_y) 775 if (RP->origin_y)
776 { 776 {
777 sprintf (small_buf, "origin_y %d\n", RP->origin_y); 777 sprintf (small_buf, "origin_y %d\n", RP->origin_y);
778 strcat (buf, small_buf);
779 }
780
781 if (RP->random_seed)
782 {
783 /* Add one so that the next map is a bit different */
784 sprintf (small_buf, "random_seed %d\n", RP->random_seed + 1);
785 strcat (buf, small_buf); 778 strcat (buf, small_buf);
786 } 779 }
787 780
788 if (RP->treasureoptions) 781 if (RP->treasureoptions)
789 { 782 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines