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.28 by root, Sun Jul 1 05:00:19 2007 UTC vs.
Revision 1.29 by elmex, Sun Jul 29 06:46:39 2007 UTC

609 if (!arch) 609 if (!arch)
610 return; 610 return;
611 611
612 tmp = arch_to_object (arch); 612 tmp = arch_to_object (arch);
613 613
614 if ((floor->above) && (!can_build_over (pl->map, tmp, x, y))) 614 if (!floor->flag[FLAG_IS_BUILDABLE] || (floor->above) && (!can_build_over (pl->map, tmp, x, y)))
615 /* Floor has something on top that interferes with building */ 615 /* Floor has something on top that interferes with building */
616 { 616 {
617 new_draw_info (NDI_UNIQUE, 0, pl, "You can't build here."); 617 new_draw_info (NDI_UNIQUE, 0, pl, "You can't build here.");
618 return; 618 return;
619 } 619 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines