Kaynağa Gözat

Mark all days NNY, instead of up to last day.

The game wasn't detecting that all days had
been played.  This fixes that by filling
in all the days, rather then just up to
the last day of the month.
Steve Thielemann 3 yıl önce
ebeveyn
işleme
e7c46b9e0c
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      play.cpp

+ 2 - 2
play.cpp

@@ -1626,8 +1626,8 @@ std::unique_ptr<door::Screen> PlayCards::make_calendar() {
   }
 #endif
 
-  // mark days ahead as NNY.
-  for (int d = 0; d < month_last_day; ++d) {
+  // mark all days ahead as NNY.
+  for (int d = 0; d < 31; ++d) {
     if (this_day + play_days_ahead - 1 < d) {
       calendar_day_status[d] = 3;
     }