in_connection to bool

This commit is contained in:
GriffinR
2020-02-18 19:52:37 -05:00
parent 2a2db28e57
commit 3e80641915
10 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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() << ", "