mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
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:
parent
3e023684f4
commit
9f2cb8ea0d
1 changed files with 1 additions and 1 deletions
|
@ -477,10 +477,10 @@ static inline tspriteptr_t renderMakeTSpriteFromSprite(tspriteptr_t const tspr,
|
||||||
tspr->vel = spr->vel;
|
tspr->vel = spr->vel;
|
||||||
tspr->lotag = spr->lotag;
|
tspr->lotag = spr->lotag;
|
||||||
tspr->hitag = spr->hitag;
|
tspr->hitag = spr->hitag;
|
||||||
|
tspr->extra = spr->extra;
|
||||||
|
|
||||||
tspr->clipdist = 0;
|
tspr->clipdist = 0;
|
||||||
tspr->owner = spritenum;
|
tspr->owner = spritenum;
|
||||||
tspr->extra = 0;
|
|
||||||
|
|
||||||
return tspr;
|
return tspr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue