Update a crash

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@478 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
amber 2004-12-06 21:56:40 +00:00
parent 61a74892aa
commit 218d9acf25
2 changed files with 2 additions and 1 deletions

View File

@ -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]

View File

@ -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;