summaryrefslogtreecommitdiff
path: root/src/common/random.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-06-07 20:03:32 +0200
committerEuphy <euphy@rathena.org>2013-06-15 15:41:17 -0400
commit0ea143ce6224679d084e543e6e7f24983867734b (patch)
tree446b190a8b187bb8bc6a4baf9e1b67c9b67db4be /src/common/random.c
parentba8cf0fb01f6cc997ef1424712954ea0d898b009 (diff)
downloadhercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.gz
hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.bz2
hercules-0ea143ce6224679d084e543e6e7f24983867734b.tar.xz
hercules-0ea143ce6224679d084e543e6e7f24983867734b.zip
Hercules Renewal Phase One : pc, party, map, timer
Added iPc, iParty, iMap, iTimer to HPM exported interfaces
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();