Set game.newloc when reincarnated. Fixes a bug.
This commit is contained in:
parent
fcfc7c3b5c
commit
7d690e0b95
3 changed files with 13 additions and 106 deletions
3
main.c
3
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue