about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tracker_state.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index 002f447..e02ee14 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp
@@ -86,7 +86,8 @@ Decision IsPanelReachable_Helper(int panel_id,
86 : kMaybe; 86 : kMaybe;
87 } 87 }
88 88
89 if (panel_obj.name == "ANOTHER TRY" && AP_GetVictoryCondition() == kLEVEL_2) { 89 if ((panel_obj.name == "ANOTHER TRY" || panel_obj.name == "LEVEL 2") &&
90 AP_GetLevel2Requirement() > 1) {
90 int counting_panels_accessible = 0; 91 int counting_panels_accessible = 0;
91 92
92 for (int solved_panel_id : solveable_panels) { 93 for (int solved_panel_id : solveable_panels) {
>#ifndef AREA_POPUP_H_03FAC988 #define AREA_POPUP_H_03FAC988 #include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #endif class AreaPopup : public wxScrolledCanvas { public: AreaPopup(wxWindow* parent, int area_id); void UpdateIndicators(); private: void OnPaint(wxPaintEvent& event); int area_id_; wxBitmap unchecked_eye_; wxBitmap checked_eye_; wxBitmap rendered_; }; #endif /* end of include guard: AREA_POPUP_H_03FAC988 */