diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-25 10:24:53 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-25 10:24:53 +0000 |
commit | d290cfb6040d0a29c48ba42d8d6df33bec697b55 (patch) | |
tree | b6e293e0d677d9867729be7a86ca80c248708465 /src/common | |
parent | 57edb71dc13e63b5b62dcb2eb8d5fe43d8debba6 (diff) | |
download | hercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.tar.gz hercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.tar.bz2 hercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.tar.xz hercules-d290cfb6040d0a29c48ba42d8d6df33bec697b55.zip |
* Fixed the double free's caused by r11290 (wrong option in the database constructors).
Readded tick cache variables (deleted by mistake).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11292 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/timer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/timer.c b/src/common/timer.c index a24e2da8f..996ec98a8 100644 --- a/src/common/timer.c +++ b/src/common/timer.c @@ -114,6 +114,9 @@ char* search_timer_func_list(TimerFunc func) #if defined(TICK_CACHE) && TICK_CACHE > 1 ////////////////////////////////////////////////////////////////////////// // tick is cached for TICK_CACHE calls +static unsigned int gettick_cache; +static int gettick_count; + unsigned int gettick_nocache(void) { #ifdef WIN32 |