forked from github/server
Bugfix Schiffschaden (Ouch)
This commit is contained in:
parent
6f45043f19
commit
eb2603248d
|
@ -2603,9 +2603,10 @@ aftermath(battle * b)
|
|||
if (du->ship) sh = du->ship; else sh = leftship(du);
|
||||
|
||||
if (sh && fval(sh, SF_DAMAGED)) {
|
||||
int n = b->turn - 1;
|
||||
int n = b->turn - 2;
|
||||
if (n>0) {
|
||||
damage_ship(sh, 0.05 * n);
|
||||
freset(sh, SF_DAMAGED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue