From 9f2cb8ea0d5b7bf40933183bee29ee2fc73657aa Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 2 Feb 2020 06:40:45 +0000 Subject: [PATCH] renderMakeTSpriteFromSprite: Copy extra, since SW uses it SW: This fixes enemies glowing under nightvision. git-svn-id: https://svn.eduke32.com/eduke32@8587 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/include/build.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/include/build.h b/source/build/include/build.h index a5b6a1e27..2633884be 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -477,10 +477,10 @@ static inline tspriteptr_t renderMakeTSpriteFromSprite(tspriteptr_t const tspr, tspr->vel = spr->vel; tspr->lotag = spr->lotag; tspr->hitag = spr->hitag; + tspr->extra = spr->extra; tspr->clipdist = 0; tspr->owner = spritenum; - tspr->extra = 0; return tspr; }