mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix a signed/unsigned comparison.
git-svn-id: https://svn.eduke32.com/eduke32@3673 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1e7283f982
commit
e2ab98261f
1 changed files with 1 additions and 1 deletions
|
@ -1890,7 +1890,7 @@ static int32_t P_DisplayKnuckles(int32_t gs,int32_t snum)
|
|||
|
||||
const DukePlayer_t *const ps = g_player[snum].ps;
|
||||
|
||||
if (ps->knuckle_incs == 0 || ps->knuckle_incs>>1 >= ARRAY_SIZE(knuckle_frames) || sprite[ps->i].extra <= 0)
|
||||
if (ps->knuckle_incs == 0 || (unsigned) (ps->knuckle_incs>>1) >= ARRAY_SIZE(knuckle_frames) || sprite[ps->i].extra <= 0)
|
||||
return 0;
|
||||
|
||||
looking_arc = klabs(ps->look_ang)/9;
|
||||
|
|
Loading…
Reference in a new issue