summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-06 21:56:40 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-06 21:56:40 +0000
commitb6eaa63a066abf71ef95f89f2e49465f2a9ba6e3 (patch)
treeaab8853ba59b524942cd7dde4933c41f70ae6f69
parentbba3c7ef13a6c60925dec8bb0ceda1de3eac0803 (diff)
downloadhercules-b6eaa63a066abf71ef95f89f2e49465f2a9ba6e3.tar.gz
hercules-b6eaa63a066abf71ef95f89f2e49465f2a9ba6e3.tar.bz2
hercules-b6eaa63a066abf71ef95f89f2e49465f2a9ba6e3.tar.xz
hercules-b6eaa63a066abf71ef95f89f2e49465f2a9ba6e3.zip
Update a crash
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@478 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog.txt1
-rw-r--r--src/map/mob.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 619f5cae6..f62220b25 100644
--- a/Changelog.txt
+++ b/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]
diff --git a/src/map/mob.c b/src/map/mob.c
index 7f209cd26..12c69537a 100644
--- a/src/map/mob.c
+++ b/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;