diff options
Diffstat (limited to 'src/ap_state.cpp')
-rw-r--r-- | src/ap_state.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ap_state.cpp b/src/ap_state.cpp index a969892..8438649 100644 --- a/src/ap_state.cpp +++ b/src/ap_state.cpp | |||
@@ -29,8 +29,8 @@ | |||
29 | #include "tracker_state.h" | 29 | #include "tracker_state.h" |
30 | 30 | ||
31 | constexpr int AP_MAJOR = 0; | 31 | constexpr int AP_MAJOR = 0; |
32 | constexpr int AP_MINOR = 4; | 32 | constexpr int AP_MINOR = 6; |
33 | constexpr int AP_REVISION = 5; | 33 | constexpr int AP_REVISION = 1; |
34 | 34 | ||
35 | constexpr const char* CERT_STORE_PATH = "cacert.pem"; | 35 | constexpr const char* CERT_STORE_PATH = "cacert.pem"; |
36 | constexpr int ITEM_HANDLING = 7; // <- all | 36 | constexpr int ITEM_HANDLING = 7; // <- all |
@@ -503,8 +503,9 @@ struct APState { | |||
503 | : kSUNWARP_ACCESS_NORMAL; | 503 | : kSUNWARP_ACCESS_NORMAL; |
504 | sunwarp_shuffle = slot_data.contains("shuffle_sunwarps") && | 504 | sunwarp_shuffle = slot_data.contains("shuffle_sunwarps") && |
505 | slot_data["shuffle_sunwarps"].get<int>() == 1; | 505 | slot_data["shuffle_sunwarps"].get<int>() == 1; |
506 | postgame_shuffle = slot_data.contains("shuffle_postgame") && | 506 | postgame_shuffle = slot_data.contains("shuffle_postgame") |
507 | slot_data["shuffle_postgame"].get<int>() == 1; | 507 | ? (slot_data["shuffle_postgame"].get<int>() == 1) |
508 | : true; | ||
508 | 509 | ||
509 | if (painting_shuffle && slot_data.contains("painting_entrance_to_exit")) { | 510 | if (painting_shuffle && slot_data.contains("painting_entrance_to_exit")) { |
510 | painting_mapping.clear(); | 511 | painting_mapping.clear(); |