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.1.1.2 by elmex, Wed Mar 15 14:05:34 2006 UTC vs.
Revision 1.5 by elmex, Sun Aug 13 17:16:03 2006 UTC

1/* 1/*
2 * static char *rcsid_treasure_c = 2 * static char *rcsid_treasure_c =
3 * "$Id: treasure.c,v 1.1.1.2 2006/03/15 14:05:34 elmex Exp $"; 3 * "$Id: treasure.c,v 1.5 2006/08/13 17:16:03 elmex dead $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
145 tries++; 145 tries++;
146 } 146 }
147 chest=place_chest(treasureoptions,i,j,map,style_map,num_treasures,RP); 147 chest=place_chest(treasureoptions,i,j,map,style_map,num_treasures,RP);
148 if(!chest) return; 148 if(!chest) return;
149 i = chest->x; j = chest->y; 149 i = chest->x; j = chest->y;
150 if(treasureoptions &( DOORED|HIDDEN)) { 150 if(treasureoptions & (DOORED|HIDDEN)) {
151 doorlist=surround_by_doors(map,layout,i,j,treasureoptions); 151 doorlist=surround_by_doors(map,layout,i,j,treasureoptions);
152 lock_and_hide_doors(doorlist,map,treasureoptions,RP); 152 lock_and_hide_doors(doorlist,map,treasureoptions,RP);
153 free(doorlist); 153 free(doorlist);
154 } 154 }
155 } 155 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines