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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user