X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=4798d7d77150238647b95d8f2ebc4a68b459a299;hb=06e8d5a83e2e8ee5f13c2d5439adecef6fdeb563;hp=74d67566af2619ed2f1a169fbdc8a88e4218cfc9;hpb=fa9b6d317f5138c8a4937a14a92acf4b5928545e;p=open-adventure.git diff --git a/actions.c b/actions.c index 74d6756..4798d7d 100644 --- a/actions.c +++ b/actions.c @@ -792,7 +792,7 @@ static int pour(token_t verb, token_t obj) static int quit(void) /* Quit. Intransitive only. Verify intent and exit if that's what he wants. */ { - if (YES(REALLY_QUIT, OK_MAN, OK_MAN)) + if (YES(arbitrary_messages[REALLY_QUIT], arbitrary_messages[OK_MAN], arbitrary_messages[OK_MAN])) terminate(quitgame); return GO_CLEAROBJ; } @@ -820,7 +820,7 @@ static int read(token_t verb, token_t obj) return GO_CLEAROBJ; } if (obj == OYSTER && !game.clshnt) { - game.clshnt = YES(CLUE_QUERY, WAYOUT_CLUE, OK_MAN); + game.clshnt = YES(arbitrary_messages[CLUE_QUERY], arbitrary_messages[WAYOUT_CLUE], arbitrary_messages[OK_MAN]); return GO_CLEAROBJ; } PSPEAK(obj, OBJTXT[obj] + game.prop[obj]);