anchor.diff:    LoadStream.Read(TroopFormations, SizeOf(TroopFormations));
   
     LoadStream.Read(NewCount);
  -  SetLength(fDefPolyFirstLine, NewCount);
  -  if (NewCount > 0) then
  -    LoadStream.Read(fDefPolyFirstLine[0], SizeOf(fDefPolyFirstLine[0]) * NewCount);
  -
  -  LoadStream.Read(NewCount);
     for I := 0 to NewCount - 1 do
       fPositions.Add( TKMDefencePosition.Load(LoadStream) );
   end;
  
positive.code: begin
    SaveStream.WriteA('DefencePosition');
    SaveStream.Write(fWeight);
    SaveStream.Write(fPosition);
    if (fGroup <> nil) then
      SaveStream.Write(fGroup.UID) //Store ID
  
negative.code:   MAX_SOLDIERS_IN_GROUP = 9; //These are the defaults in KaM
    FORMATION_OF_GROUP = 3;
    SQR_FIRST_LINE_RADIUS = 8*8;
    FIRST_LINE_MAX_IDX = 0;
  
  
  implementation
  