summaryrefslogtreecommitdiff
path: root/src/common/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/random.c')
-rw-r--r--src/common/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/random.c b/src/common/random.c
index 5c048c7eb..a7d432e34 100644
--- a/src/common/random.c
+++ b/src/common/random.c
@@ -17,7 +17,7 @@
/// Initializes the random number generator with an appropriate seed.
void rnd_init(void)
{
- uint32 seed = gettick();
+ uint32 seed = iTimer->gettick();
seed += (uint32)time(NULL);
#if defined(WIN32)
seed += GetCurrentProcessId();