diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/skill.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 949d95cfb..fd22c0ec5 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,5 +1,7 @@ Date Added +2011/09/18 + * Fixed CR_SLIMPITCHER passing item requirement index to itemdb_search when used by a monster (bugreport:5021, since r6791). [Ai4rei] 2011/09/17 * Rental items no longer expire in cart and storage. The packet does not support this and rentals cannot be put in on official either (since r14082, related r14083). [Ai4rei] - Corrected packet 0x299 (ZC_CASH_ITEM_DELETE) missing inventory index field (since r13370). 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; |