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.5 by root, Sat Sep 16 22:24:12 2006 UTC vs.
Revision 1.6 by root, Tue Dec 12 21:39:56 2006 UTC

79 if (sindex == 3) 79 if (sindex == 3)
80 this_door = pick_random_object (hdoors); 80 this_door = pick_random_object (hdoors);
81 else 81 else
82 this_door = pick_random_object (vdoors); 82 this_door = pick_random_object (vdoors);
83 new_door = arch_to_object (this_door->arch); 83 new_door = arch_to_object (this_door->arch);
84 copy_object (this_door, new_door); 84 this_door->copy_to (new_door);
85 new_door->x = i; 85 new_door->x = i;
86 new_door->y = j; 86 new_door->y = j;
87 insert_ob_in_map (new_door, the_map, NULL, 0); 87 insert_ob_in_map (new_door, the_map, NULL, 0);
88 } 88 }
89 } 89 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines