mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Re-revise r6625.
git-svn-id: https://svn.eduke32.com/eduke32@6638 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3bc83a7ceb
commit
d2fd7a2c30
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)
|
if (actor[i].picnum == BLIMP && t->picnum == SCRAP1 && pSprite->yvel >= 0)
|
||||||
t->picnum = pSprite->yvel < MAXUSERTILES ? pSprite->yvel : 0;
|
t->picnum = pSprite->yvel < MAXUSERTILES ? pSprite->yvel : 0;
|
||||||
else t->picnum += T1(i);
|
else t->picnum += T1(i);
|
||||||
t->shade = max(t->shade-6, -128);
|
t->shade = -128+6 < t->shade ? t->shade-6 : -128; // effectively max(t->shade-6, -128) while avoiding (signed!) underflow
|
||||||
|
|
||||||
G_MaybeTakeOnFloorPal(t, sect);
|
G_MaybeTakeOnFloorPal(t, sect);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue