LunaCON: fix negative alpha for 'rotatespritea'. BUILD_LUNATIC.

Conceptually, this amends r4428.

git-svn-id: https://svn.eduke32.com/eduke32@5237 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2015-05-25 12:57:52 +00:00
parent 85be0bebec
commit d27824ae3c

View file

@ -413,8 +413,10 @@ function _rotspr(x, y, zoom, ang, tilenum, shade, pal, orientation,
local blendidx = 0
if (alpha < 0) then
-- See NEG_ALPHA_TO_BLEND.
blendidx = -alpha
alpha = 0
orientation = bor(orientation, 1) -- RS_TRANS1
end
ffiC.rotatesprite_(x, y, zoom, ang, tilenum, shade, pal, bor(2,orientation),