didnt mean to change that lel

This commit is contained in:
Alug committed 2025-04-04 08:15:56 +02:00
1 parent 33e904632c
commit f2d2307fcc
2 files changed
+6 -6

No files matched your search

+5 -5
View File
@@ -62,7 +62,7 @@ void R_DrawColumn_8(void)
register INT32 heightmask = dc_sourcelength-1;
npow2min = -1;
npow2max = dc_sourcelength-1;
npow2max = dc_sourcelength;
if (dc_sourcelength & heightmask) // not a power of 2 -- killough
{
@@ -183,7 +183,7 @@ void R_Draw2sMultiPatchColumn_8(void)
register INT32 heightmask = dc_sourcelength-1;
register UINT8 val;
npow2min = -1;
npow2max = dc_sourcelength-1;
npow2max = dc_sourcelength;
if (dc_sourcelength & heightmask) // not a power of 2 -- killough
{
@@ -322,7 +322,7 @@ void R_Draw2sMultiPatchTranslucentColumn_8(void)
register INT32 heightmask = dc_sourcelength-1;
register UINT8 val;
npow2min = -1;
npow2max = dc_sourcelength-1;
npow2max = dc_sourcelength;
if (dc_sourcelength & heightmask) // not a power of 2 -- killough
{
@@ -501,7 +501,7 @@ void R_DrawTranslucentColumn_8(void)
register const lighttable_t *colormap = dc_colormap;
register INT32 heightmask = dc_sourcelength-1;
npow2min = -1;
npow2max = dc_sourcelength-1;
npow2max = dc_sourcelength;
if (dc_sourcelength & heightmask)
{
@@ -607,7 +607,7 @@ void R_DrawTranslatedTranslucentColumn_8(void)
// This is as fast as it gets.
register INT32 heightmask = dc_sourcelength-1;
npow2min = -1;
npow2max = dc_sourcelength-1;
npow2max = dc_sourcelength;
if (dc_sourcelength & heightmask)
{
+1 -1
View File
@@ -695,7 +695,7 @@ static void R_DrawFlippedMaskedColumn(column_t *column)
if (dc_yl <= dc_yh && dc_yh > 0 && column->length != 0)
{
dc_source = ZZ_Alloc(column->length);
dc_sourcelength = dc_texheight = column->length;
dc_sourcelength = column->length;
for (s = (UINT8 *)column+2+column->length, d = dc_source; d < dc_source+column->length; --s)
*d++ = *s;