projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug that made YES() case-sensitive.
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index 1938d24be054ce6c904e8d0d7247013f23e39c70..5348d3d80033b1494e701806f6de8c02a6dceef2 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-792,7
+792,7
@@
static int pour(token_t verb, token_t obj)
static int quit(FILE *input)
/* Quit. Intransitive only. Verify intent and exit if that's what he wants. */
{
static int quit(FILE *input)
/* Quit. Intransitive only. Verify intent and exit if that's what he wants. */
{
- if (YES(
input,
REALLY_QUIT, OK_MAN, OK_MAN))
+ if (YES(REALLY_QUIT, OK_MAN, OK_MAN))
terminate(quitgame);
return GO_CLEAROBJ;
}
terminate(quitgame);
return GO_CLEAROBJ;
}
@@
-820,7
+820,7
@@
static int read(FILE *input, token_t verb, token_t obj)
return GO_CLEAROBJ;
}
if (obj == OYSTER && !game.clshnt) {
return GO_CLEAROBJ;
}
if (obj == OYSTER && !game.clshnt) {
- game.clshnt = YES(
input,
CLUE_QUERY, WAYOUT_CLUE, OK_MAN);
+ game.clshnt = YES(CLUE_QUERY, WAYOUT_CLUE, OK_MAN);
return GO_CLEAROBJ;
}
PSPEAK(obj, OBJTXT[obj] + game.prop[obj]);
return GO_CLEAROBJ;
}
PSPEAK(obj, OBJTXT[obj] + game.prop[obj]);