projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Abolish HNTMAX and HNTSIZ in favor of HINT_COUNT.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 8ed28043f4994ca378658b33b21a81d37dab0d4c..f9d0284e8b775eea35b2bf08965676f60e71ca8d 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-189,7
+189,7
@@
static bool fallback_handler(char *buf)
static void checkhints(void)
{
if (COND[game.loc] >= game.conds) {
static void checkhints(void)
{
if (COND[game.loc] >= game.conds) {
- for (int hint = 1; hint <= H
NTMAX
; hint++) {
+ for (int hint = 1; hint <= H
INT_COUNT
; hint++) {
if (game.hinted[hint])
continue;
if (!CNDBIT(game.loc, hint + HBASE))
if (game.hinted[hint])
continue;
if (!CNDBIT(game.loc, hint + HBASE))