mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
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
This commit is contained in:
parent
d45889800f
commit
82f4b73a44
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue