X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=de888d4584d1f1528378324ff5b3f50f84e22d3c;hb=248fc90e3d2cb0c3e2bcc6cace7d11d4ff763db0;hp=7e1cc704f54925bc121d8077471aa60e0c09b25f;hpb=e91b8c2a0630c7c82c9e9ff96bc2e180c6c91c6a;p=open-adventure.git diff --git a/actions.c b/actions.c index 7e1cc70..de888d4 100644 --- a/actions.c +++ b/actions.c @@ -482,13 +482,12 @@ static int discard(token_t verb, token_t obj, bool just_do_it) DESTROY(BIRD); return GO_CLEAROBJ; } else if (obj == BEAR && AT(TROLL)) { - rspeak(TROLL_SCAMPERS); + state_change(TROLL, TROLL_GONE); move(TROLL, LOC_NOWHERE); move(TROLL + NOBJECTS, LOC_NOWHERE); move(TROLL2, objects[TROLL].plac); move(TROLL2 + NOBJECTS, objects[TROLL].fixd); juggle(CHASM); - game.prop[TROLL] = TROLL_GONE; } else if (obj != VASE || game.loc == objects[PILLOW].plac) { rspeak(OK_MAN);