Fixed: opaque blood decals did not respect the GAMEINFO's blood color. This fixes opaque blood decals not getting the correct color in Chex Quest, as an example.

This commit is contained in:
nashmuhandes 2022-02-09 20:01:24 +08:00 committed by Rachael Alexanderson
parent 084c4f84bd
commit ee0330b0b1

View file

@ -479,6 +479,7 @@ void FDecalLib::ParseDecal (FScanner &sc)
case DECAL_OPAQUEBLOOD:
newdecal.RenderStyle = STYLE_Normal;
newdecal.Translation = TRANSLATION(TRANSLATION_Blood, CreateBloodTranslation(gameinfo.defaultbloodcolor));
newdecal.opaqueBlood = true;
break;
}