Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -59,7 +59,7 @@ fort(void)
|
|||
if (fort_amt > land_mob_max)
|
||||
fort_amt = land_mob_max;
|
||||
nunits = 0;
|
||||
while (nxtitem(&ni, (s_char *)&land)) {
|
||||
while (nxtitem(&ni, &land)) {
|
||||
if (!player->owner || land.lnd_own == 0)
|
||||
continue;
|
||||
if (land.lnd_type < 0 || land.lnd_type > lnd_maxno) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue