X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=actions.c;h=06da68805481e1526c7a24687b09c9224188b6b1;hp=686d0a676387d649c4c3654690f4cdf0d4b95de1;hb=7be7ac9406512644886fbf4a99d16e1b4f7cefc3;hpb=fd57b3b5bdf15fe7f8b861c2559c905269f9ac15 diff --git a/actions.c b/actions.c index 686d0a6..06da688 100644 --- a/actions.c +++ b/actions.c @@ -889,8 +889,7 @@ static int listen(void) long packed_zzword = token_to_packed(game.zzword); pspeak(i, hear, mi, true, packed_zzword); rspeak(NO_MESSAGE); - /* FIXME: Magic number, sensitive to bird state logic */ - if (i == BIRD && game.prop[i] == 5) + if (i == BIRD && mi == BIRD_ENDSTATE) DESTROY(BIRD); return GO_CLEAROBJ; }