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.45 by root, Fri Nov 6 13:03:34 2009 UTC vs.
Revision 1.46 by root, Fri Nov 6 13:31:47 2009 UTC

470 /* And tell player about the fix */ 470 /* And tell player about the fix */
471 new_draw_info (NDI_UNIQUE, 0, pl, message); 471 new_draw_info (NDI_UNIQUE, 0, pl, message);
472} 472}
473 473
474/** 474/**
475 * Wall radius fix function
476 */
477static void
478fix_walls_around (maptile *map, int x, int y)
479{
480 for (int xt = x - 1; xt <= x + 1; xt++)
481 for (int yt = y - 1; yt <= y + 1; yt++)
482 if (!OUT_OF_REAL_MAP (map, xt, yt))
483 fix_walls (map, xt, yt);
484}
485
486/**
487 * Wall building function 475 * Wall building function
488 * 476 *
489 * Walls can be build: 477 * Walls can be build:
490 * - on a floor without anything else 478 * - on a floor without anything else
491 * - on an existing wall, with or without a floor 479 * - on an existing wall, with or without a floor

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines