Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Aug 31, 2024
1 parent 584bc71 commit 124b2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hu_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ static bool HU_DefaultPistolSprites(void)

for (int i = 0; i < 5; i++)
{
patch_t *patch = patch = W_CacheLumpNum(firstspritelump
patch_t *patch = W_CacheLumpNum(firstspritelump
+ sprites[SPR_PISG].spriteframes[i & FF_FRAMEMASK].lump[0]);

if (SHORT(patch->width) != pistol1[i].width
Expand All @@ -815,7 +815,7 @@ static bool HU_DefaultPistolSprites(void)
if (!result1)
for (int i = 0; i < 5; i++)
{
patch_t *patch = patch = W_CacheLumpNum(firstspritelump
patch_t *patch = W_CacheLumpNum(firstspritelump
+ sprites[SPR_PISG].spriteframes[i & FF_FRAMEMASK].lump[0]);

if (SHORT(patch->width) != pistol2[i].width
Expand Down

0 comments on commit 124b2ba

Please sign in to comment.