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

Comparing deliantra/server/random_maps/treasure.C (file contents):
Revision 1.28 by root, Mon Apr 16 06:23:42 2007 UTC vs.
Revision 1.29 by root, Mon Jun 4 13:04:00 2007 UTC

658 *cy = ly; 658 *cy = ly;
659 return; 659 return;
660 } 660 }
661 } 661 }
662 /* give up and return the closest free spot. */ 662 /* give up and return the closest free spot. */
663 i = find_free_spot (&archetype::find ("chest")->clone, map, x, y, 1, SIZEOFFREE1 + 1); 663 i = find_free_spot (archetype::find ("chest"), map, x, y, 1, SIZEOFFREE1 + 1);
664 664
665 if (i != -1) 665 if (i != -1)
666 { 666 {
667 *cx = x + freearr_x[i]; 667 *cx = x + freearr_x[i];
668 *cy = y + freearr_y[i]; 668 *cy = y + freearr_y[i];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines