aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--undead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/undead.c b/undead.c
index ef3827b..9c6b6fb 100644
--- a/undead.c
+++ b/undead.c
@@ -2103,7 +2103,7 @@ static game_state *execute_move(const game_state *state, const char *move)
* approach of starting off in that state and eliminating
* things.
*/
- for (i = 0; i < ret->common->wh; i++)
+ for (i = 0; i < ret->common->num_total; i++)
if (ret->guess[i] == 7)
ret->pencils[i] = 7;
move++;