Comment fix
This commit is contained in:
parent
1d4fea32b8
commit
ce51816d00
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ lnd_damage(struct emp_qelem *list, int totdam)
|
||||||
for (qp = list->q_back; qp != list; qp = next) {
|
for (qp = list->q_back; qp != list; qp = next) {
|
||||||
next = qp->q_back;
|
next = qp->q_back;
|
||||||
llp = (struct ulist *)qp;
|
llp = (struct ulist *)qp;
|
||||||
/* have to get it again because of collateral damage */
|
/* land unit might have changed (launched SAMs, collateral dmg) */
|
||||||
getland(llp->unit.land.lnd_uid, &llp->unit.land);
|
getland(llp->unit.land.lnd_uid, &llp->unit.land);
|
||||||
landdamage(&llp->unit.land, dam);
|
landdamage(&llp->unit.land, dam);
|
||||||
putland(llp->unit.land.lnd_uid, &llp->unit.land);
|
putland(llp->unit.land.lnd_uid, &llp->unit.land);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue