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

Comparing deliantra/server/server/build_map.C (file contents):
Revision 1.14 by elmex, Fri Dec 22 16:54:56 2006 UTC vs.
Revision 1.15 by root, Sat Dec 23 06:41:39 2006 UTC

352 return; 352 return;
353 353
354 /* Now delete current wall, and insert new one 354 /* Now delete current wall, and insert new one
355 * We save flags to avoid any trouble with buildable/non buildable, and so on 355 * We save flags to avoid any trouble with buildable/non buildable, and so on
356 */ 356 */
357 object::flags_t old_flags = wall->flags; // elmex: this is where C++ pays off 357 object::flags_t old_flags = wall->flag; // elmex: this is where C++ pays off
358 358
359 wall->destroy (); 359 wall->destroy ();
360 360
361 wall = arch_to_object (new_arch); 361 wall = arch_to_object (new_arch);
362 wall->type = BUILDABLE_WALL; 362 wall->type = BUILDABLE_WALL;
363 insert_ob_in_map_at (wall, map, NULL, INS_ABOVE_FLOOR_ONLY, x, y); 363 insert_ob_in_map_at (wall, map, NULL, INS_ABOVE_FLOOR_ONLY, x, y);
364 wall->flags = old_flags; 364 wall->flag = old_flags;
365} 365}
366 366
367/** 367/**
368 * \brief Floor building function 368 * \brief Floor building function
369 * 369 *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines