diff options
author | Haru <haru@dotalux.com> | 2017-11-12 02:01:05 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-11-12 02:01:05 +0100 |
commit | e52cb33ab5f9900e9c10818a19b49c80c2196f76 (patch) | |
tree | 8f580cccd7acfebe13c17be56c8ea29003726ae7 /src/map/script.h | |
parent | dfcb1ff37ad077249c0050bb1bab8994225191e1 (diff) | |
download | hercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.tar.gz hercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.tar.bz2 hercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.tar.xz hercules-e52cb33ab5f9900e9c10818a19b49c80c2196f76.zip |
Add ITEMINFO_VIEWSPRITE support to getiteminfo() / setiteminfo().
Adds the ability to query an item's view sprite, lost with #1828
Fixes #1895
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index f9d86007b..14d20838d 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -448,6 +448,7 @@ enum script_iteminfo_types { ITEMINFO_WLV, ITEMINFO_VIEWID, ITEMINFO_MATK, + ITEMINFO_VIEWSPRITE, ITEMINFO_MAX }; |