From 4d93c9c97c82b00d09e483a9243fc5d1a9df6f39 Mon Sep 17 00:00:00 2001 From: Lupus Date: Mon, 22 Nov 2004 16:21:43 +0000 Subject: * 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 --- Changelog.txt | 2 ++ src/common/timer.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2