diff options
| author | GriffinR <griffin.g.richards@gmail.com> | 2020-02-18 19:52:37 -0500 |
|---|---|---|
| committer | GriffinR <griffin.g.richards@gmail.com> | 2020-02-18 19:52:37 -0500 |
| commit | 3e806419156cd1b57f8c6c1b215f836b467c723a (patch) | |
| tree | b563893df89348fcbc07c1fcc0fda8331ffde157 /tools | |
| parent | 2a2db28e57e78eb8861997422f998378d91bf9dc (diff) | |
in_connection to bool
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mapjson/mapjson.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp index cce690662..563ed6352 100644 --- a/tools/mapjson/mapjson.cpp +++ b/tools/mapjson/mapjson.cpp @@ -274,7 +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["in_connection"].bool_value() ? 255 : 0) << ", " << obj_event["x"].int_value() << ", " << obj_event["y"].int_value() << ", " << obj_event["elevation"].int_value() << ", " |
