aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-24 21:38:48 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-24 21:38:48 +0000
commit0067683559bcdbc1f1937ad445cd297d23bac69b (patch)
tree1e2b6850d6a0d1d5da0e910fb26f2e3bfd79d245
parentb3a3672284405616b799f356c66c1ae5192fad95 (diff)
downloadusdx-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
Diffstat (limited to '')
-rw-r--r--plugins/Team_Duell/TeamDuell.dpr2
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)));