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

Comparing deliantra/server/random_maps/door.C (file contents):
Revision 1.13 by root, Sat Jan 27 00:56:48 2007 UTC vs.
Revision 1.14 by root, Sat Feb 17 23:32:11 2007 UTC

82 int sindex; 82 int sindex;
83 object *this_door, *new_door; 83 object *this_door, *new_door;
84 84
85 sindex = surround_check2 (maze, i, j, RP->Xsize, RP->Ysize); 85 sindex = surround_check2 (maze, i, j, RP->Xsize, RP->Ysize);
86 if (sindex == 3) 86 if (sindex == 3)
87 this_door = pick_random_object (hdoors); 87 this_door = hdoors->pick_random_object ();
88 else 88 else
89 this_door = pick_random_object (vdoors); 89 this_door = vdoors->pick_random_object ();
90 90
91 if (!this_door) 91 if (!this_door)
92 abort (); 92 abort ();
93 93
94 new_door = arch_to_object (this_door->arch); 94 new_door = arch_to_object (this_door->arch);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines