diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-24 21:38:48 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-24 21:38:48 +0000 |
commit | 0067683559bcdbc1f1937ad445cd297d23bac69b (patch) | |
tree | 1e2b6850d6a0d1d5da0e910fb26f2e3bfd79d245 | |
parent | b3a3672284405616b799f356c66c1ae5192fad95 (diff) | |
download | usdx-0067683559bcdbc1f1937ad445cd297d23bac69b.tar.gz usdx-0067683559bcdbc1f1937ad445cd297d23bac69b.tar.xz usdx-0067683559bcdbc1f1937ad445cd297d23bac69b.zip |
extend range to improve precision or prevent possible overflow
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1782 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | plugins/Team_Duell/TeamDuell.dpr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Team_Duell/TeamDuell.dpr b/plugins/Team_Duell/TeamDuell.dpr index 60bed41a..1371c95d 100644 --- a/plugins/Team_Duell/TeamDuell.dpr +++ b/plugins/Team_Duell/TeamDuell.dpr @@ -19,7 +19,7 @@ var bps, RTimeToNextChange: double; firsttime, secondtime: boolean; -function GetTicks: integer; +function GetTicks: cardinal; // returns a time stamp in milliseconds begin GetTicks := round(TimeStampToMSecs(DateTimeToTimeStamp(Now))); |