X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=48e987f8e67f86d84504b29a5f465085ff0afe03;hb=5ae09b9c34dda539a0b197248e22c733e00dcffd;hp=abe9e5bb38ef2eac3a9b3e481bbbf1445c648874;hpb=c48c330883b30423517015e6e697d2c25023b53a;p=open-adventure.git diff --git a/actions.c b/actions.c index abe9e5b..48e987f 100644 --- a/actions.c +++ b/actions.c @@ -477,7 +477,7 @@ static int discard(token_t verb, token_t obj, bool just_do_it) /* FIXME: Arithmetic on state numbers */ int k = 2 - game.prop[RUG]; game.prop[RUG] = k; - if (k == 2) + if (k == RUG_HOVER) k = objects[SAPPH].plac; move(RUG + NOBJECTS, k); }