diff options
author | shennetsind <ind@henn.et> | 2013-11-09 17:06:32 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-09 17:06:45 -0200 |
commit | 1be53db78a321436d0ebe6093595b769f10874b6 (patch) | |
tree | bb76bc0cfc48402e8f0b60b4abf667d73be3d7e1 /src/common/core.c | |
parent | 8ed38f98894fb04b4403b44dc0f36281cfd36326 (diff) | |
download | hercules-1be53db78a321436d0ebe6093595b769f10874b6.tar.gz hercules-1be53db78a321436d0ebe6093595b769f10874b6.tar.bz2 hercules-1be53db78a321436d0ebe6093595b769f10874b6.tar.xz hercules-1be53db78a321436d0ebe6093595b769f10874b6.zip |
HPM Support for plugin-implemented "--args" (options)
As a necessary measure for the upcoming bot that will keep .sql files in sync with their .txt counterparts.
Special Thanks to Haruna
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/core.c')
-rw-r--r-- | src/common/core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/core.c b/src/common/core.c index f57cc4c79..a414a5d0b 100644 --- a/src/common/core.c +++ b/src/common/core.c @@ -8,6 +8,7 @@ #include "../common/strlib.h" #include "core.h" #include "../common/console.h" +#include "../common/random.h" #ifndef MINICORE #include "../common/db.h" @@ -337,6 +338,10 @@ int main (int argc, char **argv) { timer->init(); + /* timer first */ + rnd_init(); + srand((unsigned int)timer->gettick()); + console->init(); HCache->init(); |