forked from github/server
"Doppelte/irrefuehrende Meldung bei Vulkanausbruch" Doppelmeldung entfernt.
This commit is contained in:
parent
8aea7fdb41
commit
2b104afe50
1 changed files with 54 additions and 59 deletions
|
@ -807,13 +807,8 @@ volcano_outbreak(region *r)
|
||||||
unit * u = *up;
|
unit * u = *up;
|
||||||
int dead = damage_unit(u, "3d10", true, false);
|
int dead = damage_unit(u, "3d10", true, false);
|
||||||
if (dead) {
|
if (dead) {
|
||||||
ADDMSG(&u->faction->msgs, msg_message("volcano_dead",
|
|
||||||
"unit region dead", u, rn, dead));
|
|
||||||
}
|
|
||||||
if (!fval(u->faction, FL_DH)) {
|
|
||||||
ADDMSG(&u->faction->msgs, msg_message("volcano_dead",
|
ADDMSG(&u->faction->msgs, msg_message("volcano_dead",
|
||||||
"unit region dead", u, r, dead));
|
"unit region dead", u, r, dead));
|
||||||
fset(u->faction, FL_DH);
|
|
||||||
}
|
}
|
||||||
if (u==*up) up=&u->next;
|
if (u==*up) up=&u->next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue