Changeset 18 for trunk/LocalPlayer


Ignore:
Timestamp:
Jan 8, 2017, 11:30:16 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Build on Windows.
Location:
trunk/LocalPlayer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/PVSB.pas

    r17 r18  
    55
    66uses
     7  {$IFDEF WINDOWS}
     8  Windows,
     9  {$ENDIF}
    710  LCLIntf, LCLType, LMessages, Messages, SysUtils;
    811
  • trunk/LocalPlayer/Term.pas

    r17 r18  
    55
    66uses
     7  {$IFDEF Windows}
     8  Windows,
     9  {$ENDIF}
    710  Protocol, Tribes, PVSB, ClientTools, ScreenTools, BaseWin, Messg, ButtonBase,
    811
     
    61076110          end;
    61086111          Ticks := NowPrecise;
    6109         until MillisecondOf(Ticks - Ticks0) * 12 >= MoveTime;
     6112        until (Ticks - Ticks0) / OneMillisecond * 12 >= MoveTime;
    61106113        Ticks0 := Ticks
    61116114      end;
Note: See TracChangeset for help on using the changeset viewer.