Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
@ -49,7 +49,7 @@ pstat(void)
|
|||
if (!snxtitem(&np, EF_PLANE, player->argp[1]))
|
||||
return RET_SYN;
|
||||
nplanes = 0;
|
||||
while (nxtitem(&np, (s_char *)&plane)) {
|
||||
while (nxtitem(&np, &plane)) {
|
||||
if (!player->owner || plane.pln_own == 0)
|
||||
continue;
|
||||
if (plane.pln_type < 0 || plane.pln_type > pln_maxno) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue