浏览代码

Update a crash

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@478 54d463be-8e91-2dee-dedb-b68131a5f0ec
amber 20 年之前
父节点
当前提交
218d9acf25
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      Changelog.txt
  2. 1 1
      src/map/mob.c

+ 1 - 0
Changelog.txt

@@ -1,5 +1,6 @@
 Date	Added
 12/6
+	* fixed a server crash in BS_FINDINGORE [MouseJstr]
         * Updated Chase Walk [celest]
         * Added 'checkoption1' and 'checkoption2' script functions - Refer to
           /npc/sample/npc_testchkoption.txt for similiar examples [celest]

+ 1 - 1
src/map/mob.c

@@ -2466,7 +2466,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
 			int itemid[17] = { 714, 756, 757, 969, 984, 985, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1002 };
 			ditem=(struct delay_item_drop *)aCalloc(1,sizeof(struct delay_item_drop));
 			ditem->nameid = itemid[rand()%17];
-			log_item[i] = ditem->nameid;
+			// log_item[i] = ditem->nameid;
 			ditem->amount = 1;
 			ditem->m = md->bl.m;
 			ditem->x = md->bl.x;