diff options
author | HoraK-FDF <horak-fdf@web.de> | 2023-04-03 01:58:15 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-04-03 01:58:15 +0000 |
commit | 7980f4d21956314e284448f7dcedd58f9c23b355 (patch) | |
tree | bc70b6afa07bec9943d9ec99176637f5a5c1b14a /src/map/itemdb.cpp | |
parent | c65f380f93e845c8abab8b05d80b91c271d01dbe (diff) | |
download | tmwa-7980f4d21956314e284448f7dcedd58f9c23b355.tar.gz tmwa-7980f4d21956314e284448f7dcedd58f9c23b355.tar.bz2 tmwa-7980f4d21956314e284448f7dcedd58f9c23b355.tar.xz tmwa-7980f4d21956314e284448f7dcedd58f9c23b355.zip |
Item mode
Diffstat (limited to 'src/map/itemdb.cpp')
-rw-r--r-- | src/map/itemdb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/itemdb.cpp b/src/map/itemdb.cpp index 7b23503..fa675d2 100644 --- a/src/map/itemdb.cpp +++ b/src/map/itemdb.cpp @@ -201,6 +201,7 @@ bool itemdb_readdb(ZString filename) idv.wlv = item.wlv.data; idv.elv = item.elv.data; idv.look = item.view.data; + idv.mode = item.mode.data; idv.use_script = compile_script(STRPRINTF("use script %d"_fmt, idv.nameid), item.use_script, true); idv.equip_script = compile_script(STRPRINTF("equip script %d"_fmt, idv.nameid), item.equip_script, true); |