浏览代码

* timer.c static int timer_heap_max=0; //fix by Shinomori from eA forums
ititialize static var!!!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@318 54d463be-8e91-2dee-dedb-b68131a5f0ec

Lupus 20 年之前
父节点
当前提交
26fc55602c
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      Changelog.txt
  2. 1 1
      src/common/timer.c

+ 2 - 0
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]

+ 1 - 1
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