From 28a926eb9a6198c9bc3f8339083a0af1212c51c5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 24 Oct 2020 19:11:58 +0200 Subject: [PATCH] - 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 --- source/blood/src/db.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blood/src/db.cpp b/source/blood/src/db.cpp index e60abb458..07db564b1 100644 --- a/source/blood/src/db.cpp +++ b/source/blood/src/db.cpp @@ -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);