projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e59d6b
)
Fix another ob1 error.
author
Jason S. Ninneman
<jsn@mbar.us>
Tue, 20 Jun 2017 23:09:33 +0000
(16:09 -0700)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 20 Jun 2017 23:26:55 +0000
(19:26 -0400)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 233417e6d4802b25f623ed6a8877333256b8c8fc..15e723086487d0cebcf23de6c84653ef274c45d1 100644
(file)
--- 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)
{