- Blood: Copy the 'shade' member for sprites.

This got lost when the loader was transitioned to using a local buffer to read the map data.
Fixes #140
This commit is contained in:
Christoph Oelckers 2020-10-24 19:11:58 +02:00
parent c33525381e
commit 28a926eb9a

View file

@ -856,6 +856,7 @@ void dbLoadMap(const char *pPath, int *pX, int *pY, int *pZ, short *pAngle, shor
pSprite->xoffset = load.xoffset;
pSprite->yoffset = load.yoffset;
pSprite->detail = load.detail;
pSprite->shade = load.shade;
pSprite->blend = 0;
InsertSpriteSect(i, sprite[i].sectnum);