summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-07 19:57:00 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-07 19:57:00 +0200
commita4e6930bb629dadfcfddd7b730b1542827574c1e (patch)
treef093dd10d50da4d9de981792a192e688418b644b /src/render/Hud.cpp
parentMerge pull request #120 from ShFil119/audio4 (diff)
downloadre3-a4e6930bb629dadfcfddd7b730b1542827574c1e.tar
re3-a4e6930bb629dadfcfddd7b730b1542827574c1e.tar.gz
re3-a4e6930bb629dadfcfddd7b730b1542827574c1e.tar.bz2
re3-a4e6930bb629dadfcfddd7b730b1542827574c1e.tar.lz
re3-a4e6930bb629dadfcfddd7b730b1542827574c1e.tar.xz
re3-a4e6930bb629dadfcfddd7b730b1542827574c1e.tar.zst
re3-a4e6930bb629dadfcfddd7b730b1542827574c1e.zip
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r--src/render/Hud.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index 754f4b85..b9ae3e8d 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -862,7 +862,7 @@ void CHud::Draw()
CScriptRectangle* IntroRect = CTheScripts::IntroRectangles;
for (int i = 0; i < 16; i++) {
- if (CTheScripts::IntroRectangles[i].m_bIsUsed && CTheScripts::IntroRectangles[i].m_bIsAntialiased) {
+ if (CTheScripts::IntroRectangles[i].m_Type && CTheScripts::IntroRectangles[i].m_bBeforeFade) {
if (CTheScripts::IntroRectangles[i].m_nTextureId >= 0) {
CRect rect = {
CTheScripts::IntroRectangles[i].m_sRect.left,