From: Jason S. Ninneman Date: Tue, 27 Jun 2017 05:03:42 +0000 (-0700) Subject: Clean up missed actspk[] references. X-Git-Tag: 1.1~86 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=004fe7691735763c113b702a08db69e9a36f9700 Clean up missed actspk[] references. --- diff --git a/actions.c b/actions.c index ffb52f6..5bb9555 100644 --- a/actions.c +++ b/actions.c @@ -816,7 +816,7 @@ static int read(struct command_t command) } else if (command.obj == OYSTER && !game.clshnt && game.closed) { game.clshnt = yes(arbitrary_messages[CLUE_QUERY], arbitrary_messages[WAYOUT_CLUE], arbitrary_messages[OK_MAN]); } else if (objects[command.obj].texts[0] == NULL || game.prop[command.obj] < 0) { - rspeak(actspk[command.verb]); + rspeak(actions[command.verb].message); } else pspeak(command.obj, study, game.prop[command.obj]); return GO_CLEAROBJ; @@ -893,7 +893,7 @@ static int throw (FILE *cmdin, struct command_t *command) * (Only way to do so!) Axe also special for dragon, bear, and * troll. Treasures special for troll. */ { - int spk = actspk[command->verb]; + int spk = actions[command->verb].message; if (TOTING(ROD2) && command->obj == ROD && !TOTING(ROD))command->obj = ROD2; if (!TOTING(command->obj)) { rspeak(spk); @@ -1005,7 +1005,7 @@ int action(FILE *input, struct command_t *command) * unless verb is "say", which snarfs arbitrary second word. */ { - token_t spk = actspk[command->verb]; + token_t spk = actions[command->verb].message; if (command->part == unknown) { /* Analyse an object word. See if the thing is here, whether