mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix warning in clip.cpp
git-svn-id: https://svn.eduke32.com/eduke32@8092 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
475743424f
commit
1bd690c8c2
1 changed files with 1 additions and 1 deletions
|
@ -788,7 +788,7 @@ static FORCE_INLINE void clipmove_tweak_pos(const vec3_t *pos, int32_t gx, int32
|
||||||
// Returns: should clip?
|
// Returns: should clip?
|
||||||
static int cliptestsector(int const dasect, int const nextsect, int32_t const flordist, int32_t const ceildist, vec2_t const pos, int32_t const posz)
|
static int cliptestsector(int const dasect, int const nextsect, int32_t const flordist, int32_t const ceildist, vec2_t const pos, int32_t const posz)
|
||||||
{
|
{
|
||||||
Bassert((unsigned)dasect < numsectors && (unsigned)nextsect < numsectors);
|
Bassert((unsigned)dasect < (unsigned)numsectors && (unsigned)nextsect < (unsigned)numsectors);
|
||||||
|
|
||||||
auto const sec2 = (usectorptr_t)§or[nextsect];
|
auto const sec2 = (usectorptr_t)§or[nextsect];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue