From 82f4b73a442765fd9d4fe05733b1836b6eae7287 Mon Sep 17 00:00:00 2001 From: Eukara Date: Thu, 2 Apr 2020 20:28:11 +0000 Subject: [PATCH] WAD3 inverted decals don't actually exist non-white git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5666 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/wad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/client/wad.c b/engine/client/wad.c index a0e4e3888..4e2deea02 100644 --- a/engine/client/wad.c +++ b/engine/client/wad.c @@ -444,9 +444,9 @@ qbyte *W_ConvertWAD3Texture(miptex_t *tex, size_t lumpsize, int *width, int *hei } else if (alpha == 3) { p *= 3; /* this is used for glass and so on -eukara */ - out[0] = pal[p]; - out[1] = pal[p+1]; - out[2] = pal[p+2]; + out[0] = 255; + out[1] = 255; + out[2] = 255; out[3] = pal[p]; } else { p *= 3;