changes:: changes.value_keep(imputed) for Mutant, not for normal Ivy

This commit is contained in:
Zeno Rogue 2020-03-01 14:08:40 +01:00
parent 831cadcb1d
commit 806a224f91
1 changed files with 1 additions and 1 deletions

View File

@ -482,6 +482,7 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
if(isMutantIvy(m) || m == moFriendlyIvy) {
pcount = 0;
if(isMutantIvy(m)) changes.at_commit([] { clearing::direct++; });
changes.value_keep(clearing::imputed);
bignum s = ivy_total() - 1;
killMutantIvy(c, who);
s = ivy_total() - s;
@ -738,7 +739,6 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
bignum s = ivy_total() - 1;
/*if((m == moIvyBranch || m == moIvyHead) && c->move(c->mondir)->monst == moIvyRoot)
ivynext(c, moIvyNext); */
changes.value_keep(clearing::imputed);
killIvy(c, who);
s = ivy_total() - s;
if(s > bignum(1) && vid.bubbles_special)