summaryrefslogtreecommitdiff
path: root/tools/mapjson/mapjson.cpp
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-24 01:42:52 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-24 01:42:52 +0800
commit1dc0b25c1e58e422883e16ce7fb4f6bea1e9a0bb (patch)
tree867d72df6ebe9b2d1f3ff72503879640322ec224 /tools/mapjson/mapjson.cpp
parent9a53686a4eb595c288758486af5fea9b7805283f (diff)
parent6e36c229200e083ca005cbc448e99210d111f3b2 (diff)
Merge branch 'master' into battle
Diffstat (limited to 'tools/mapjson/mapjson.cpp')
-rw-r--r--tools/mapjson/mapjson.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp
index 607d2bf7d..42bc20a8a 100644
--- a/tools/mapjson/mapjson.cpp
+++ b/tools/mapjson/mapjson.cpp
@@ -345,7 +345,8 @@ string generate_firered_map_events_text(Json map_data) {
<< bg_event["elevation"].int_value() << ", "
<< bg_event["item"].string_value() << ", "
<< bg_event["flag"].string_value() << ", "
- << bg_event["unknown"].int_value() << "\n";
+ << bg_event["quantity"].int_value() << ", "
+ << bg_event["underfoot"].bool_value() << "\n";
}
else {
string type_string = bg_event["type"].string_value();