mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Fix overflow issue with tsprite shade of gibs.
Patch from Fox. git-svn-id: https://svn.eduke32.com/eduke32@6625 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e7cbf0b1a9
commit
4bedc0c39d
1 changed files with 1 additions and 1 deletions
|
@ -4082,7 +4082,7 @@ PALONLY:
|
|||
if (actor[i].picnum == BLIMP && t->picnum == SCRAP1 && pSprite->yvel >= 0)
|
||||
t->picnum = pSprite->yvel < MAXUSERTILES ? pSprite->yvel : 0;
|
||||
else t->picnum += T1(i);
|
||||
t->shade -= 6;
|
||||
t->shade = -128+6 < t->shade ? t->shade-6 : -128;
|
||||
|
||||
G_MaybeTakeOnFloorPal(t, sect);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue