X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=ad91e03b9516c537759e4f04001b8261cdf3a3b2;hb=d92da991062fac03934d029aa4323962a9afa7e1;hp=2132a9ac7e4561b94cecb3de82cc81760d120f45;hpb=13f2e855355fa2424619183236b9d3fbcb8d7f5e;p=open-adventure.git diff --git a/actions.c b/actions.c index 2132a9a..ad91e03 100644 --- a/actions.c +++ b/actions.c @@ -174,11 +174,11 @@ static void blast(void) if (game.prop[ROD2] < 0 || !game.closed) RSPEAK(REQUIRES_DYNAMITE); else { - game.bonus=133; + game.bonus=VICTORY_MESSAGE; if (game.loc == LOC_NE) - game.bonus=134; + game.bonus=DEFEAT_MESSAGE; if (HERE(ROD2)) - game.bonus=135; + game.bonus=SPLATTER_MESSAGE; RSPEAK(game.bonus); score(endgame); } @@ -633,7 +633,7 @@ static int inven(void) return GO_CLEAROBJ; } -int light(token_t verb, token_t obj) +static int light(token_t verb, token_t obj) /* Light. Applicable only to lamp and urn. */ { int spk = ACTSPK[verb];