1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-20 04:48:06 +00:00

Fixed some bugs with Alchemist's land copying

This commit is contained in:
Zeno Rogue
2017-08-18 02:07:56 +02:00
parent e77dfa7b56
commit 3b154d5038
2 changed files with 14 additions and 4 deletions

View File

@@ -6754,7 +6754,12 @@ bool movepcto(int d, int subdir, bool checkonly) {
boatjump:
statuejump:
flipplayer = true; if(multi::players > 1) multi::flipped[multi::cpid] = true;
if(c2->item && c2->land == laAlchemist) c2->wall = cwt.c->wall;
if(c2->item && isAlch(c2)) {
if(cwt.c->wall == waBoat)
c2->wall = waNone;
else
c2->wall = cwt.c->wall;
}
if(c2->wall == waRoundTable) {
addMessage(XLAT("You jump over the table!"));
}