mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- warnings fix
This commit is contained in:
parent
f51cbf31ba
commit
066896db8e
2 changed files with 2 additions and 2 deletions
|
@ -393,7 +393,7 @@ void hitradius_d(DDukeActor* actor, int r, int hp1, int hp2, int hp3, int h
|
|||
if (sect >= 0 && cansee(x1, y1, spri->z, sect, spri->x, spri->y, spri->z, spri->sectnum))
|
||||
fi.checkhitwall(actor, x, wal->x, wal->y, spri->z, spri->picnum);
|
||||
}
|
||||
} while (sectcnt < sectend && sectcnt < countof(tempsect));
|
||||
} while (sectcnt < sectend && sectcnt < (int)countof(tempsect));
|
||||
}
|
||||
|
||||
SKIPWALLCHECK:
|
||||
|
|
|
@ -273,7 +273,7 @@ void hitradius_r(DDukeActor* actor, int r, int hp1, int hp2, int hp3, int h
|
|||
if (sect >= 0 && cansee(x1, y1, spri->z, sect, spri->x, spri->y, spri->z, spri->sectnum))
|
||||
fi.checkhitwall(actor, x, wal->x, wal->y, spri->z, spri->picnum);
|
||||
}
|
||||
} while (sectcnt < sectend && sectcnt < countof(tempsect));
|
||||
} while (sectcnt < sectend && sectcnt < (int)countof(tempsect));
|
||||
|
||||
SKIPWALLCHECK:
|
||||
|
||||
|
|
Loading…
Reference in a new issue