1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 11:27:39 +00:00

changes:: fixed Galapagos

This commit is contained in:
Zeno Rogue
2020-03-02 17:53:13 +01:00
parent a33c4b8e50
commit 9ded3f8c7c
3 changed files with 4 additions and 2 deletions

View File

@@ -153,12 +153,14 @@ EX bool collectItem(cell *c2, bool telekinesis IS(false)) {
else if(c2->item == itBabyTortoise) {
using namespace tortoise;
int bnew = babymap[c2];
changes.map_value(babymap, c2);
babymap.erase(c2);
int bold = seekbits;
seekbits = bnew;
changes.value_set(tortoise::last, seekbits);
if(seek()) {
cell *c = passable(cwt.at, NULL, 0) ? cwt.at : c2;
changes.ccell(c);
c->item = itBabyTortoise;
if(c == c2) dopickup = false;
changes.map_value(babymap, c);