1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

fixed Dragon doublecounting

This commit is contained in:
Zeno Rogue 2020-03-11 10:06:12 +01:00
parent 3539d43690
commit 0915c1074d

View File

@ -438,6 +438,7 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
c->stuntime = 1;
cell *head = dragon::findhead(c);
if(dragon::totalhp(head) == 0) dragon::kill(head, who);
return;
}
if(isWorm(c) && m != moTentacleGhost) return;