Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -264,7 +264,7 @@ sdump(void)
|
|||
|
||||
nships = 0;
|
||||
np = getnatp(player->cnum);
|
||||
while (nxtitem(&ni, (s_char *)&ship)) {
|
||||
while (nxtitem(&ni, &ship)) {
|
||||
if (!player->owner || ship.shp_own == 0)
|
||||
continue;
|
||||
if (ship.shp_type < 0 || ship.shp_type > shp_maxno) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue