summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskyleo <skyleo@skyleo.de>2019-10-10 00:41:18 +0200
committerskyleo <skyleo@skyleo.de>2019-10-10 03:34:01 +0200
commit6209e88b2e14f67f9b3fd47084382c7b071ed4ed (patch)
tree8fc19711097e21721b7bc59090209dd394c20690
parentef4128360d2c5c5798e4ece52fbf3d0f290d07bd (diff)
downloadhercules-6209e88b2e14f67f9b3fd47084382c7b071ed4ed.tar.gz
hercules-6209e88b2e14f67f9b3fd47084382c7b071ed4ed.tar.bz2
hercules-6209e88b2e14f67f9b3fd47084382c7b071ed4ed.tar.xz
hercules-6209e88b2e14f67f9b3fd47084382c7b071ed4ed.zip
Fix Homunculus skill failure message not displaying required item
-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 ad27ef0e3..b5f84679e 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3789,7 +3789,7 @@ static int skill_check_condition_mercenary(struct block_list *bl, int skill_id,
if (itemid[i] < 1) continue; // No item
index[i] = pc->search_inventory(sd, itemid[i]);
if (index[i] == INDEX_NOT_FOUND || sd->status.inventory[index[i]].amount < amount[i]) {
- clif->skill_fail(sd, skill_id, USESKILL_FAIL_NEED_ITEM, amount[i], itemid[i] << 16);
+ clif->skill_fail(sd, skill_id, USESKILL_FAIL_NEED_ITEM, amount[i], itemid[i]);
return 0;
}
}