- added back the hijacked 'detail' member to spritetype.

This changes the Blood map loader to not use the in-game sprite structure for loading a level and moves the qsprite_filler array back into the sprite.
This commit is contained in:
Christoph Oelckers 2020-10-02 22:14:01 +02:00
parent c86af08a19
commit 4e67197838
9 changed files with 53 additions and 75 deletions

View file

@ -453,7 +453,7 @@ void viewProcessSprites(int32_t cX, int32_t cY, int32_t cZ, int32_t cA, int32_t
//int nXSprite = pTSprite->extra;
int nXSprite = sprite[pTSprite->owner].extra;
XSPRITE *pTXSprite = NULL;
if (qsprite_filler[pTSprite->owner] > gDetail)
if (sprite[pTSprite->owner].deteil > gDetail)
{
pTSprite->xrepeat = 0;
continue;