(guerrilla): Remove unused variable.

This commit is contained in:
Markus Armbruster 2006-04-26 17:51:38 +00:00
parent b6e40305df
commit b69c26c67e

View file

@ -180,9 +180,7 @@ guerrilla(struct sctstr *sp)
update, before doing anything else. */ update, before doing anything else. */
if (lchr[(int)lp->lnd_type].l_flags & L_SECURITY) { if (lchr[(int)lp->lnd_type].l_flags & L_SECURITY) {
int che_kill, r; int che_kill, r;
struct lchrstr *lcp;
lcp = &lchr[(int)lp->lnd_type];
mil += lnd_getmil(lp); mil += lnd_getmil(lp);
r = (lnd_getmil(lp) * lp->lnd_effic) / 500; r = (lnd_getmil(lp) * lp->lnd_effic) / 500;
che_kill = r < 1 ? 0 : roll(r); che_kill = r < 1 ? 0 : roll(r);