summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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