summaryrefslogtreecommitdiff
path: root/src/map/npc-parse.cpp
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-11-05 21:18:06 -0600
committerBen Longbons <b.r.longbons@gmail.com>2014-11-05 21:43:35 -0800
commita7333d7e59515db8a5f95f43a3b26793505b2aae (patch)
treefc8539ced9871a1bba87924eda3e2811a41bf8d0 /src/map/npc-parse.cpp
parent9c19f89a5fb3947541286b349479eb8276dc8b65 (diff)
downloadtmwa-a7333d7e59515db8a5f95f43a3b26793505b2aae.tar.gz
tmwa-a7333d7e59515db8a5f95f43a3b26793505b2aae.tar.bz2
tmwa-a7333d7e59515db8a5f95f43a3b26793505b2aae.tar.xz
tmwa-a7333d7e59515db8a5f95f43a3b26793505b2aae.zip
Fix shops not loading and bad price
Diffstat (limited to 'src/map/npc-parse.cpp')
-rw-r--r--src/map/npc-parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc-parse.cpp b/src/map/npc-parse.cpp
index 9eb4b64..22c3ce3 100644
--- a/src/map/npc-parse.cpp
+++ b/src/map/npc-parse.cpp
@@ -224,11 +224,11 @@ bool npc_load_shop(ast::npc::Shop& shop)
id_;
}));
+ back.value = it.data.value.data;
if (it.data.value_multiply)
{
back.value = id->value_buy * back.value;
}
- return true;
}
nd->bl_prev = nd->bl_next = nullptr;