X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=b3a8f95fd0fc02a75ce31844423f2df4493c273e;hb=67a887f432fa175300e6d51069587175dee76e17;hp=eb8936214e16cbc90c75d665124da1c6e044f870;hpb=d32021262288346da36d861a494006da360c9395;p=open-adventure.git diff --git a/main.c b/main.c index eb89362..b3a8f95 100644 --- a/main.c +++ b/main.c @@ -255,7 +255,7 @@ static void checkhints(void) game.hintlc[hint] = 0; return; default: // LCOV_EXCL_LINE - // Should never hap[pen + // Should never happen BUG(HINT_NUMBER_EXCEEDS_GOTO_LIST); // LCOV_EXCL_LINE } @@ -656,7 +656,7 @@ static void playermove(int motion) /* Look for a way to fulfil the motion verb passed in - travel_entry indexes * the beginning of the motion entries for here (game.loc). */ for (;;) { - if (T_TERMINATE(travel[travel_entry]) || + if ((travel[travel_entry].motion == HERE) || travel[travel_entry].motion == motion) break; if (travel[travel_entry].stop) {