Comment fix

This commit is contained in:
Markus Armbruster 2010-03-20 18:46:02 +01:00
parent 1d4fea32b8
commit ce51816d00

View file

@ -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);