From 0d5c334c08846eedabacdabb4d4de04c90ec6b76 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Sun, 18 Sep 2011 15:12:05 +0000 Subject: * Fixed CR_SLIMPITCHER passing item requirement index to itemdb_search when used by a monster (bugreport:5021, since r6791). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14959 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index a596034c6..ad333c17d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6408,7 +6408,7 @@ int skill_castend_pos2(struct block_list* src, int x, int y, int skillid, int sk } } else { int i = skilllv%11 - 1; - struct item_data *item = itemdb_search(i); + struct item_data *item; i = skill_db[skillid].itemid[i]; item = itemdb_search(i); potion_flag = 1; -- cgit v1.2.3-70-g09d2