Changeset 125 for trunk/UCore.pas


Ignore:
Timestamp:
Jan 14, 2022, 3:15:52 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r124 r125  
    159159  FCurrentTarget := AValue;
    160160  for I := 0 to Targets.Count - 1 do
    161     TTarget(Targets[I]).OnChangeState := nil;
     161    Targets[I].OnChangeState := nil;
    162162  if Assigned(FCurrentTarget) then begin
    163163    FCurrentTarget.OnChangeState := FormMain.TargetStateChanged;
Note: See TracChangeset for help on using the changeset viewer.