mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-07 00:44:08 +00:00
changes: fixed Ivy
This commit is contained in:
parent
633cfd25d2
commit
4a913485d0
@ -756,7 +756,7 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
|
|||||||
for(int i=0; i<c2->type; i++)
|
for(int i=0; i<c2->type; i++)
|
||||||
if(c2->move(i)->monst == moIvyWait && c2->move(i)->mondir == c2->c.spin(i))
|
if(c2->move(i)->monst == moIvyWait && c2->move(i)->mondir == c2->c.spin(i))
|
||||||
qty++;
|
qty++;
|
||||||
if(c->move(c->mondir)->monst == moIvyRoot || qty) {
|
if(c2->monst == moIvyRoot || qty) {
|
||||||
c->monst = moIvyNext;
|
c->monst = moIvyNext;
|
||||||
/* c->monst = moIvyHead;
|
/* c->monst = moIvyHead;
|
||||||
ivynext(c);
|
ivynext(c);
|
||||||
@ -764,7 +764,8 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
|
|||||||
else c->monst = moNone; */
|
else c->monst = moNone; */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
c->move(c->mondir)->monst = moIvyHead;
|
changes.ccell(c2);
|
||||||
|
c2->monst = moIvyHead;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user