1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 06:37:38 +00:00

cleaned up where summoned creature appears for Orb of Life and Orb of Friendship

This commit is contained in:
Zeno Rogue
2021-08-08 19:04:58 +02:00
parent 683ab67ad9
commit 025893e946
8 changed files with 24 additions and 24 deletions

View File

@@ -1098,7 +1098,7 @@ void movePlayer(monster *m, int delta) {
}
else if(m->inBoat && !isWateryOrBoat(c2) && passable(c2, m->base, P_ISPLAYER | P_MIRROR | reflectflag)) {
if(boatGoesThrough(c2) && markOrb(itOrbWater)) {
collectItem(c2);
collectItem(c2, m->base);
c2->wall = isIcyLand(m->base) ? waLake : waSea;
}
else {
@@ -1249,7 +1249,7 @@ void movePlayer(monster *m, int delta) {
}
if(c2->item == itOrbYendor && !peace::on) yendor::check(c2);
collectItem(c2);
collectItem(c2, m->base);
movecost(m->base, c2, 2);
}
}