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

Comparing deliantra/server/random_maps/wall.C (file contents):
Revision 1.9 by root, Tue Dec 12 21:39:56 2006 UTC vs.
Revision 1.10 by root, Wed Dec 20 09:14:22 2006 UTC

302 object *the_wall = 0; 302 object *the_wall = 0;
303 object *new_wall = 0; 303 object *new_wall = 0;
304 archetype *wall_arch = 0; 304 archetype *wall_arch = 0;
305 305
306 /* first find the wall */ 306 /* first find the wall */
307 for (the_wall = get_map_ob (the_map, i, j); the_wall != NULL; the_wall = the_wall->above) 307 for (the_wall = GET_MAP_OB (the_map, i, j); the_wall != NULL; the_wall = the_wall->above)
308 if ((the_wall->move_type & MOVE_WALK) && the_wall->type != EXIT && the_wall->type != TELEPORTER) 308 if ((the_wall->move_type & MOVE_WALK) && the_wall->type != EXIT && the_wall->type != TELEPORTER)
309 break; 309 break;
310 310
311 311
312 /* if what we found is a door, don't remove it, set the_wall to NULL to 312 /* if what we found is a door, don't remove it, set the_wall to NULL to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines