1
0
Fork 0
forked from fte/fteqw

Does that fix anything at all?

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@201 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-13 03:16:49 +00:00
parent 00a3abfb12
commit 2dc8077642

View file

@ -560,6 +560,9 @@ void D_PolysetDrawSpans8ReverseTrans (spanpackage_t *pspanpackage)
int lzi;
short *lpz;
if (d_aspancount<0)
return;
do
{
lcount = d_aspancount - pspanpackage->count;
@ -625,7 +628,13 @@ void D_PolysetDrawSpans8Trans (spanpackage_t *pspanpackage)
short *lpz;
if (t_state & TT_REVERSE)
{
D_PolysetDrawSpans8ReverseTrans(pspanpackage);
return;
}
if (d_aspancount<0||ubasestep<0)
return;
do
{
@ -656,7 +665,7 @@ void D_PolysetDrawSpans8Trans (spanpackage_t *pspanpackage)
{
if ((lzi >> 16) >= *lpz)
{
*lpdest = Trans(*lpdest, ((qbyte *)acolormap)[*lptex + (llight & 0xFF00)]);
*lpdest = Trans(*lpdest, ((qbyte *)acolormap)[*lptex + (llight & 0xFF00)]);
// gel mapping *lpdest = gelmap[*lpdest];
*lpz = lzi >> 16;
}