Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -56,7 +56,7 @@ military_control(struct sctstr *sp)
|
|||
|
||||
if (sp->sct_oldown != sp->sct_own) {
|
||||
snxtitem_xy(&ni, EF_LAND, sp->sct_x, sp->sct_y);
|
||||
while (nxtitem(&ni, (s_char *)&land)) {
|
||||
while (nxtitem(&ni, &land)) {
|
||||
if (land.lnd_own == sp->sct_own)
|
||||
tot_mil += total_mil(&land);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue