Remove some redundant casts.

This commit is contained in:
Markus Armbruster 2005-05-28 08:37:52 +00:00
parent e2fe05be18
commit ce6c039519
7 changed files with 16 additions and 16 deletions

View file

@ -188,7 +188,7 @@ dd(natid att, natid def_own, coord ax, coord ay, int noisy, int defending)
continue;
if (firing.sct_own == 0)
continue;
if (firing.sct_effic < (u_char)FORTEFF)
if (firing.sct_effic < FORTEFF)
continue;
rel = getrel(getnatp(firing.sct_own), def_own);
rel2 = getrel(getnatp(firing.sct_own), att);
@ -231,7 +231,7 @@ sb(natid att, natid def, struct sctstr *sp, coord tx, coord ty, int noisy,
return 0;
}
if (sp->sct_effic < (u_char)FORTEFF)
if (sp->sct_effic < FORTEFF)
return 0;
own = sp->sct_own;