]> git.pond.sub.org Git - empserver/commitdiff
Comment fix
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 20 Mar 2010 17:46:02 +0000 (18:46 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 20 Mar 2010 17:46:02 +0000 (18:46 +0100)
src/lib/subs/lndsub.c

index a19e53dc28db4363a45879de33e72dfa9f2edf9d..2f5134e8647db04ab8629b0f34c7577f6f3ceee1 100644 (file)
@@ -680,7 +680,7 @@ lnd_damage(struct emp_qelem *list, int totdam)
     for (qp = list->q_back; qp != list; qp = next) {
        next = qp->q_back;
        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);
        landdamage(&llp->unit.land, dam);
        putland(llp->unit.land.lnd_uid, &llp->unit.land);