in_connection to bool
This commit is contained in:
1 parent
2a2db28e57
commit
3e80641915
10 files changed
+10
-10
No files matched your search
@@ -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() << ", "
|
||||
|
||||
Reference in new issue
Block a user