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

Comparing deliantra/server/random_maps/layout.C (file contents):
Revision 1.31 by root, Wed Nov 16 23:42:02 2016 UTC vs.
Revision 1.32 by root, Sun Jan 29 02:47:05 2017 UTC

636 636
637 for (int i = 0; i < w; i++) 637 for (int i = 0; i < w; i++)
638 for (int j = 0; j < h; j++) 638 for (int j = 0; j < h; j++)
639 switch (data [i][j]) 639 switch (data [i][j])
640 { 640 {
641 case '#': expand_wall (new_layout, i, j, *this); break; 641 case '#': expand_wall (new_layout, i, j, *this); break;
642 case 'D': expand_door (new_layout, i, j, *this); break; 642 case 'D': expand_door (new_layout, i, j, *this); break;
643 default: expand_misc (new_layout, i, j, *this); break; 643 default: expand_misc (new_layout, i, j, *this); break;
644 } 644 }
645 645
646 swap (new_layout); 646 swap (new_layout);
647} 647}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines