equal
deleted
inserted
replaced
365 or (not Template.canInvert and Template.isNegative) then |
365 or (not Template.canInvert and Template.isNegative) then |
366 begin |
366 begin |
367 hasBorder:= true; |
367 hasBorder:= true; |
368 for y:= 0 to LAND_HEIGHT - 1 do |
368 for y:= 0 to LAND_HEIGHT - 1 do |
369 for x:= 0 to LAND_WIDTH - 1 do |
369 for x:= 0 to LAND_WIDTH - 1 do |
370 if (y < topY) or (x < leftX) or (x > rightX) then |
370 if (y < LongWord(topY)) or (x < LongWord(leftX)) or (x > LongWord(rightX)) then |
371 Land[y, x]:= 0 |
371 Land[y, x]:= 0 |
372 else |
372 else |
373 begin |
373 begin |
374 if Land[y, x] = 0 then |
374 if Land[y, x] = 0 then |
375 Land[y, x]:= lfBasic |
375 Land[y, x]:= lfBasic |