From 4369284c75828ca78e7ab7ad3dfe732d3538c132 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Apr 2023 07:35:28 -0400 Subject: [PATCH] Boolification. --- advent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advent.h b/advent.h index 70c0c68..1162106 100644 --- a/advent.h +++ b/advent.h @@ -190,8 +190,8 @@ struct game_t { loc_t fixed[NOBJECTS + 1]; // fixed location of object (if not IS_FREE) obj_t link[NOBJECTS * 2 + 1];// object-list links loc_t place[NOBJECTS + 1]; // location of object - int hinted[NHINTS]; // hinted[i] = true iff hint i has been used. - int hintlc[NHINTS]; // hintlc[i] = how int at LOC with cond bit i + bool hinted[NHINTS]; // hinted[i] = true iff hint i has been used. + int hintlc[NHINTS]; // hintlc[i] = show int at LOC with cond bit i int prop[NOBJECTS + 1]; // object state array */ }; -- 2.31.1