equal
deleted
inserted
replaced
918 maze_inverted := true; |
918 maze_inverted := true; |
919 end; |
919 end; |
920 end; |
920 end; |
921 |
921 |
922 num_cells_x := LAND_WIDTH div cellsize; |
922 num_cells_x := LAND_WIDTH div cellsize; |
923 if num_cells_x mod 2 = 0 then num_cells_x := num_cells_x - 1; //needs to be odd |
923 if not odd(num_cells_x) then num_cells_x := num_cells_x - 1; //needs to be odd |
924 num_cells_y := LAND_HEIGHT div cellsize; |
924 num_cells_y := LAND_HEIGHT div cellsize; |
925 if num_cells_y mod 2 = 0 then num_cells_y := num_cells_y - 1; |
925 if not odd(num_cells_y) then num_cells_y := num_cells_y - 1; |
926 num_edges_x := num_cells_x - 1; |
926 num_edges_x := num_cells_x - 1; |
927 num_edges_y := num_cells_y - 1; |
927 num_edges_y := num_cells_y - 1; |
928 seen_cells_x := num_cells_x div 2; |
928 seen_cells_x := num_cells_x div 2; |
929 seen_cells_y := num_cells_y div 2; |
929 seen_cells_y := num_cells_y div 2; |
930 |
930 |