diff options
author | Haru <haru@dotalux.com> | 2017-08-21 20:52:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-09-17 17:48:32 +0200 |
commit | 3745f1658aab4a5ffe504a5660b76402f2e2c6d6 (patch) | |
tree | 0af779ffdb40cd6251b942f34cb528c9fa91362b /src | |
parent | 39cbf6038b769230aba1fc17b28893cefc147294 (diff) | |
download | hercules-3745f1658aab4a5ffe504a5660b76402f2e2c6d6.tar.gz hercules-3745f1658aab4a5ffe504a5660b76402f2e2c6d6.tar.bz2 hercules-3745f1658aab4a5ffe504a5660b76402f2e2c6d6.tar.xz hercules-3745f1658aab4a5ffe504a5660b76402f2e2c6d6.zip |
Fix a typo in the constant ITEMUPPER_THIRDUPPER
Was: ITEMUPPER_THURDUPPER
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/itemdb.h | 2 | ||||
-rw-r--r-- | src/map/pc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 980e8730e..d2d3b6c73 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -337,7 +337,7 @@ enum item_class_upper { ITEMUPPER_UPPER = 0x02, ITEMUPPER_BABY = 0x04, ITEMUPPER_THIRD = 0x08, - ITEMUPPER_THURDUPPER = 0x10, + ITEMUPPER_THIRDUPPER = 0x10, ITEMUPPER_THIRDBABY = 0x20, ITEMUPPER_ALL = 0x3f, // Sum of all the above }; diff --git a/src/map/pc.c b/src/map/pc.c index 5948a3cf7..609a4ec56 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5032,7 +5032,7 @@ int pc_isUseitem(struct map_session_data *sd,int n) break; } // Upper third classes - if ((item->class_upper & ITEMUPPER_THURDUPPER) != 0) { + if ((item->class_upper & ITEMUPPER_THIRDUPPER) != 0) { if ((sd->job & JOBL_THIRD) != 0 && (sd->job & JOBL_UPPER) != 0) break; } |