X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=95acac2fb47adcec557ecce53bf2df089704e45c;hb=4fe9b94db409f9aa52d26bf127275351adf51b34;hp=72c40f39f2ce3aeea0679d8d45258c3f8e028bb5;hpb=d6dab20801dc0df6c998df927ae325a3dc34fee7;p=open-adventure.git diff --git a/main.c b/main.c index 72c40f3..95acac2 100644 --- a/main.c +++ b/main.c @@ -29,9 +29,6 @@ struct game_t game; -long LNLENG, LNPOSN; -char rawbuf[LINESIZE], INLINE[LINESIZE + 1]; - FILE *logfp = NULL, *rfp = NULL; bool oldstyle = false; bool editline = true; @@ -995,7 +992,7 @@ static bool do_command() rspeak(TAME_BEAR); speak(msg); if (FORCED(game.loc)) { - if (playermove(MOT_1)) + if (playermove(HERE)) return true; else continue; /* back to top of main interpreter loop */