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:
parent
3539d43690
commit
0915c1074d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user