anchor.diff:    end
     else
     begin
  -    KMUnit.AnimStep:=StillFrame;
  -    IsStepDone:=true;
  +    KMUnit.AnimStep := StillFrame;
  +    IsStepDone := true;
     end;
   
     dec(TimeToStay);
  
positive.code: end;
  
  
  end.
  
negative.code: unit KM_UnitActionStay;
  interface
  uses Classes, KM_Defaults, KromUtils, KM_Utils, KM_CommonTypes, KM_Units, SysUtils, Math;
  
  {Stay in place for set time}
  type
  TUnitActionStay = class(TUnitAction)
    private
      StayStill:boolean;
      TimeToStay:integer;
  