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
+2 -2
View File
@@ -695,7 +695,7 @@ EX bool jumpTo(orbAction a, cell *dest, eItem byWhat, int bonuskill IS(0), eMons
from = NULL;
}
if(cwt.at->item != itOrbYendor && cwt.at->item != itHolyGrail) {
auto c = collectItem(cwt.at, true);
auto c = collectItem(cwt.at, from, true);
if(c) {
return true;
}
@@ -777,7 +777,7 @@ void telekinesis(cell *dest) {
}
moveItem(dest, cwt.at, true);
collectItem(cwt.at, true);
collectItem(cwt.at, cwt.at, true);
useupOrb(itOrbSpace, cost.first);
if(cost.second)
markOrb(itOrbMagnetism);