summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-18 15:12:05 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-18 15:12:05 +0000
commit0d5c334c08846eedabacdabb4d4de04c90ec6b76 (patch)
tree5353aeee74459cc50497da6b56cd631c25ec5eec /src
parent2c1b05e983bc4b1ee565c375c71db8f5a8f19b9c (diff)
downloadhercules-0d5c334c08846eedabacdabb4d4de04c90ec6b76.tar.gz
hercules-0d5c334c08846eedabacdabb4d4de04c90ec6b76.tar.bz2
hercules-0d5c334c08846eedabacdabb4d4de04c90ec6b76.tar.xz
hercules-0d5c334c08846eedabacdabb4d4de04c90ec6b76.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
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;