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.25 by root, Sat Feb 17 23:32:11 2007 UTC vs.
Revision 1.26 by root, Sun Mar 18 03:05:40 2007 UTC

698 it'll remove any monsters it finds.*/ 698 it'll remove any monsters it finds.*/
699object ** 699object **
700surround_by_doors (maptile *map, char **layout, int x, int y, int opts) 700surround_by_doors (maptile *map, char **layout, int x, int y, int opts)
701{ 701{
702 int i; 702 int i;
703 char *doors[2]; 703 const char *doors[2];
704 object **doorlist; 704 object **doorlist;
705 int ndoors_made = 0; 705 int ndoors_made = 0;
706 doorlist = (object **) calloc (9, sizeof (object *)); /* 9 doors so we can hold termination null */ 706 doorlist = (object **) calloc (9, sizeof (object *)); /* 9 doors so we can hold termination null */
707 707
708 /* this is a list we pick from, for horizontal and vertical doors */ 708 /* this is a list we pick from, for horizontal and vertical doors */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines