mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-22 23:21:08 +00:00
Fix knuckle cracking animation broken in r3436
git-svn-id: https://svn.eduke32.com/eduke32@3440 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c0ebbbbb42
commit
9bd041cb9d
1 changed files with 1 additions and 1 deletions
|
@ -1922,7 +1922,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 >= ARRAY_SIZE(knuckle_frames) || sprite[ps->i].extra <= 0)
|
||||
if (ps->knuckle_incs == 0 || 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