Merge pull request #260 from GriffinRichards/doc-connection

Split connection field from graphics id in object events
This commit is contained in:
PikalaxALT
2020-02-19 14:49:14 -05:00
committed by GitHub
11 changed files with 26 additions and 15 deletions
+1
View File
@@ -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"].bool_value() ? 255 : 0) << ", "
<< obj_event["x"].int_value() << ", "
<< obj_event["y"].int_value() << ", "
<< obj_event["elevation"].int_value() << ", "