X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=main.c;h=7e165a70040e3c8047f6eac763f65eab257b859b;hb=7d690e0b95e5a0eea6df9c2bcc026a5f5f7c18a8;hp=200c77ebc3d0bf4a541e3c206e6571a2a8d74f80;hpb=fcfc7c3b5c6e6cea58fd9796ac49567a0d2b258f;p=open-adventure.git diff --git a/main.c b/main.c index 200c77e..7e165a7 100644 --- a/main.c +++ b/main.c @@ -501,8 +501,7 @@ static void croak(void) drop(i, (i == LAMP) ? LOC_START : game.oldlc2); } } - game.loc = LOC_BUILDING; - game.oldloc = game.loc; + game.oldloc = game.loc = game.newloc = LOC_BUILDING; } }