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;
|
c->stuntime = 1;
|
||||||
cell *head = dragon::findhead(c);
|
cell *head = dragon::findhead(c);
|
||||||
if(dragon::totalhp(head) == 0) dragon::kill(head, who);
|
if(dragon::totalhp(head) == 0) dragon::kill(head, who);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if(isWorm(c) && m != moTentacleGhost) return;
|
if(isWorm(c) && m != moTentacleGhost) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue