X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=actions.c;h=6936fa279035c61437b6a74fea6b2515d60da047;hp=9a68f268429a0f5ed1c9c615164fc1e325996850;hb=c5d2d9ddb54647bdb3ca03a0163a5da103dc8946;hpb=bfa06be62d73a8ed7559b5344672d8a3f9bd947e diff --git a/actions.c b/actions.c index 9a68f26..6936fa2 100644 --- a/actions.c +++ b/actions.c @@ -177,6 +177,7 @@ static int blast(void) game.bonus=135; RSPEAK(game.bonus); score(0); + return GO_CLEAROBJ; /* pacify compiler - we never get here */ } static int vbreak(token_t verb, token_t obj) @@ -234,9 +235,9 @@ static int carry(token_t verb, token_t obj) if (obj == RUG && game.prop[RUG] == 2)spk=222; if (obj == SIGN)spk=196; if (obj == MESSAG) { - spk=190; - return GO_CLEAROBJ; + RSPEAK(190); DSTROY(MESSAG); + return GO_CLEAROBJ; } if (game.fixed[obj] != 0) { RSPEAK(spk);