Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -94,7 +94,7 @@ boar(void)
|
|||
/* Look for land units with mobility */
|
||||
snxtitem_xy(&ni, EF_LAND, off->x, off->y);
|
||||
foundland = 0;
|
||||
while (nxtitem(&ni, (s_char *)&land)) {
|
||||
while (nxtitem(&ni, &land)) {
|
||||
if (land.lnd_own != player->cnum)
|
||||
continue;
|
||||
if (land.lnd_ship >= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue