summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-15 00:21:43 +0100
committerHaru <haru@dotalux.com>2015-12-28 18:36:00 +0100
commitf1afe0dfee7f97d46f6dad924f75d08956d17620 (patch)
treebbb13e6d59b0143817e559c9fb8f6a9656fe864e /src
parent7ac8f603c647790aee85106e97fc9f7672e4d436 (diff)
downloadhercules-f1afe0dfee7f97d46f6dad924f75d08956d17620.tar.gz
hercules-f1afe0dfee7f97d46f6dad924f75d08956d17620.tar.bz2
hercules-f1afe0dfee7f97d46f6dad924f75d08956d17620.tar.xz
hercules-f1afe0dfee7f97d46f6dad924f75d08956d17620.zip
Added some missing item IDs to their enum
Diffstat (limited to 'src')
-rw-r--r--src/map/itemdb.h2
-rw-r--r--src/map/mob.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index f508f5c1d..5ea22b190 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -104,6 +104,8 @@ enum item_itemid {
ITEMID_FRAGMENT_OF_CRYSTAL = 7321,
ITEMID_SKULL_ = 7420,
ITEMID_TOKEN_OF_SIEGFRIED = 7621,
+ ITEMID_GOLD_KEY77 = 7782,
+ ITEMID_SILVER_KEY77 = 7783,
ITEMID_TRAP_ALLOY = 7940,
ITEMID_RED_POUCH_OF_SURPRISE = 12024,
ITEMID_BLOODY_DEAD_BRANCH = 12103,
diff --git a/src/map/mob.c b/src/map/mob.c
index d3feb16b8..16b5417b9 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2412,7 +2412,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) {
* so while we discuss, for a small period of time, the list is hardcoded (yes officially only those 2 use it,
* thus why we're unsure on how to best place the setting) */
/* temp, will not be hardcoded for long thudu. */
- if( it->nameid == 7782 || it->nameid == 7783 ) /* for when not hardcoded: add a check on mvp bonus drop as well */
+ if (it->nameid == ITEMID_GOLD_KEY77 || it->nameid == ITEMID_SILVER_KEY77) /* for when not hardcoded: add a check on mvp bonus drop as well */
clif->item_drop_announce(mvp_sd, it->nameid, md->name);
// Announce first, or else ditem will be freed. [Lance]