From 9714c9fc2a9a81436bd654427b7e681ec43dd4ff Mon Sep 17 00:00:00 2001 From: "Jason S. Ninneman" Date: Tue, 20 Jun 2017 16:09:33 -0700 Subject: [PATCH] Fix another ob1 error. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 233417e..15e7230 100644 --- a/main.c +++ b/main.c @@ -1027,7 +1027,7 @@ L2607: /* If a turn threshold has been met, apply penalties and tell * the player about it. */ - for (int i = turn_threshold_count; i >= 0; --i) + for (int i = 0; i < turn_threshold_count; ++i) { if (game.turns == turn_thresholds[i].threshold + 1) { -- 2.31.1