summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-22 16:21:43 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-22 16:21:43 +0000
commit4d93c9c97c82b00d09e483a9243fc5d1a9df6f39 (patch)
tree4a6a21dabc8fed2f0dd55a724b099da59f3cfe88
parentf188041dca6135288e5658082da95d5de32bdb8f (diff)
downloadhercules-4d93c9c97c82b00d09e483a9243fc5d1a9df6f39.tar.gz
hercules-4d93c9c97c82b00d09e483a9243fc5d1a9df6f39.tar.bz2
hercules-4d93c9c97c82b00d09e483a9243fc5d1a9df6f39.tar.xz
hercules-4d93c9c97c82b00d09e483a9243fc5d1a9df6f39.zip
* timer.c static int timer_heap_max=0; //fix by Shinomori from eA forums
ititialize static var!!! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@318 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog.txt2
-rw-r--r--src/common/timer.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 0e0b68cb1..8903daa9f 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
11/22
+ * timer.c static int timer_heap_max=0; //fix by Shinomori from eA forums
+ ititialize static var!!!
* Added the old effect list # into effect_list.txt of spira's. [shadow]
* Added new flag (#3) to clif_specialeffect [MC Cameri]
* @doom,@die,@doommap now display the Dark Cross effect on you. [MC Cameri]
diff --git a/src/common/timer.c b/src/common/timer.c
index 7d03d4e5e..3c5f92d9a 100644
--- a/src/common/timer.c
+++ b/src/common/timer.c
@@ -25,7 +25,7 @@ static int timer_data_max,timer_data_num;
static int* free_timer_list;
static int free_timer_list_max, free_timer_list_pos;
-static int timer_heap_max;
+static int timer_heap_max=0; //fixed Shinomori from eA forums
static int* timer_heap = NULL;
// for debug