Skip to content

Commit

Permalink
Fixed another flicker
Browse files Browse the repository at this point in the history
I thought by adding a NeedUpdate() for the other ammo counts would make the readyweapon ammo count redundant.

But when you change the weapon uhhh.... flicker. Whoops
  • Loading branch information
Kippykip committed Jan 23, 2020
1 parent cfcfba9 commit f6814b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/st_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ static void ST_doRefresh(void)

static boolean ST_NeedUpdate()
{
// ready weapon ammo
if(_g->w_ready.oldnum != *_g->w_ready.num)
return true;

if(_g->st_health.n.oldnum != *_g->st_health.n.num)
return true;

Expand Down

0 comments on commit f6814b8

Please # to comment.