summaryrefslogtreecommitdiff
path: root/tools/mapjson/mapjson.cpp
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-02-18 18:13:31 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-02-18 18:13:31 -0500
commit2a2db28e57e78eb8861997422f998378d91bf9dc (patch)
tree74fa03c07d5e1af660431ce235042ffbf1309526 /tools/mapjson/mapjson.cpp
parentf9c1b6101495f09cf797cf0cb466ec4cc5838e72 (diff)
Split connection field from graphics id in object events
Diffstat (limited to 'tools/mapjson/mapjson.cpp')
-rw-r--r--tools/mapjson/mapjson.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp
index 753fac11b..cce690662 100644
--- a/tools/mapjson/mapjson.cpp
+++ b/tools/mapjson/mapjson.cpp
@@ -274,6 +274,7 @@ string generate_firered_map_events_text(Json map_data) {
auto obj_event = map_data["object_events"].array_items()[i];
text << "\tobject_event " << i + 1 << ", "
<< obj_event["graphics_id"].string_value() << ", "
+ << obj_event["in_connection"].int_value() << ", "
<< obj_event["x"].int_value() << ", "
<< obj_event["y"].int_value() << ", "
<< obj_event["elevation"].int_value() << ", "