X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions.c;h=a17abdee82a7d5e6ce0899dd679c9c9191ba55d1;hb=8dd70624d1cd04db7001563608aa8fbe8660d82b;hp=6279306f723d801e20e5f494f8a27e8ace83f292;hpb=fd6da1537369ec3dea28ab2efbef628bb634c7e5;p=open-adventure.git diff --git a/actions.c b/actions.c index 6279306..a17abde 100644 --- a/actions.c +++ b/actions.c @@ -112,7 +112,7 @@ static int bigwords(token_t foo) int k = VOCAB(foo, 3); int spk = NOTHING_HAPPENS; if (game.foobar != 1 - k) { - if (game.foobar != 0)spk = START_OVER; + if (game.foobar != 0 && game.loc == LOC_GIANTROOM)spk = START_OVER; rspeak(spk); return GO_CLEAROBJ; } else { @@ -552,7 +552,7 @@ int fill(token_t verb, token_t obj) if (LIQUID() != 0) spk = BOTTLE_FULL; if (spk == BOTTLED_WATER) { - game.prop[BOTTLE] = MOD(COND[game.loc], 4) / 2 * 2; + game.prop[BOTTLE] = MOD(conditions[game.loc], 4) / 2 * 2; k = LIQUID(); if (TOTING(BOTTLE)) game.place[k] = CARRIED;