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
This commit is contained in:
hendricks266 2020-02-02 06:40:45 +00:00 committed by Christoph Oelckers
parent 3e023684f4
commit 9f2cb8ea0d

View file

@ -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;
}