Remove a bunch of redundant casts.
This commit is contained in:
parent
ee6d72f3b8
commit
4f59fc9967
125 changed files with 417 additions and 432 deletions
|
|
@ -241,7 +241,7 @@ calc_all(long p_sect[][2],
|
|||
*planes = *pbuild = *npbuild = *pmaint = 0;
|
||||
|
||||
np = getnatp(player->cnum);
|
||||
bp = (int *)calloc(WORLD_X * WORLD_Y * 8, sizeof(int));
|
||||
bp = calloc(WORLD_X * WORLD_Y * 8, sizeof(int));
|
||||
for (n = 0; NULL != (sp = getsectid(n)); n++) {
|
||||
fill_update_array(bp, sp);
|
||||
if (sp->sct_own == player->cnum) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue