anchor.diff:      procedure EditTile(const aLoc: TKMPoint; aTile: Word; aRotation: Byte; aIsCustom: Boolean = True);
       procedure GenerateAddnData;
       procedure InitSize(X,Y: Word);
  +    function GetTerKind(aTKValue: Byte; aUseKamFormat: Boolean): TKMTerrainKind;
   
       function IsTerrainRepresentTerKind(aTerId: Word; aTerKind: TKMTerrainKind): Boolean;
   
  
positive.code:     and (aTerKindFrom <> tkCustom) then
      //We have no direct transition
      aFound := False;
  end;
  
  
  
negative.code:           begin
              //Krom's editor saves negative numbers for tiles placed manually
              S.Read(TerType, 1);
              LandTerKind[I,K].TerKind := GetTerKind(TerType, UseKaMFormat);
            end;
            MapEdChunkFound := True; //Only set it once it's all loaded successfully
          end
  