Ignore:
Timestamp:
May 11, 2022, 9:06:36 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Battle.pas

    r352 r437  
    3838  BattleDlg: TBattleDlg;
    3939
     40
    4041implementation
    4142
     
    149150  begin
    150151    if Forecast.EndHealthDef > 0 then
    151       RisedTextOut(ca, xm + 10, ym - (TextSize.cy + 1) div 2, LabelText)
     152      RisedTextOut(ca, xm + 10, ym - (TextSize.cy + 1) div 2, LabelText);
    152153  end
    153154  else
     
    171172    if Forecast.EndHealthAtt > 0 then
    172173      RisedTextOut(ca, xm - (TextSize.cx + 1) div 2, ym + 8 + LAAvoidedDamage,
    173         LabelText)
     174        LabelText);
    174175  end
    175176  else
     
    240241    Brush.Style := bsClear;
    241242    PaintBackground(self, 3 + Border, 3 + Border,
    242       ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border))
     243      ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border));
    243244  end;
    244245  Frame(Canvas, Border + 1, Border + 1, ClientWidth - (2 + Border),
     
    270271        205 + (MessageLineSpacing - MessageLineSpacing div 2), s1);
    271272    end;
    272     ym := 110
     273    ym := 110;
    273274  end
    274275  else
     
    297298begin
    298299  if not IsSuicideQuery then
    299     Close
     300    Close;
    300301end;
    301302
     
    309310    if Key <> VK_ESCAPE then
    310311      MainScreen.FormKeyDown(Sender, Key, Shift);
    311   end
     312  end;
    312313end;
    313314
Note: See TracChangeset for help on using the changeset viewer.