Set game.newloc when reincarnated. Fixes a bug.

This commit is contained in:
Eric S. Raymond 2017-07-08 11:34:09 -04:00
parent fcfc7c3b5c
commit 7d690e0b95
3 changed files with 13 additions and 106 deletions

3
main.c
View file

@ -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;
}
}