summaryrefslogtreecommitdiff
path: root/src/map/itemdb.cpp
diff options
context:
space:
mode:
authorHello TMW <hello@themanaworld.org>2024-04-06 01:14:30 +0000
committerHello TMW <hello@themanaworld.org>2024-04-06 01:14:30 +0000
commit90754fd121ffaec886c415689031f9ef01ae4972 (patch)
tree047f645931fdb0715afe784b8bc445743a78a371 /src/map/itemdb.cpp
parente42f76d0b0f4d2ec3a9008979267311f5246fb22 (diff)
parentebf078b9fa81142834dc45e22ea661a61c50d17b (diff)
downloadtmwa-90754fd121ffaec886c415689031f9ef01ae4972.tar.gz
tmwa-90754fd121ffaec886c415689031f9ef01ae4972.tar.bz2
tmwa-90754fd121ffaec886c415689031f9ef01ae4972.tar.xz
tmwa-90754fd121ffaec886c415689031f9ef01ae4972.zip
Merge branch tmwa:master into masterHEADmaster
Diffstat (limited to 'src/map/itemdb.cpp')
-rw-r--r--src/map/itemdb.cpp1
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);