summaryrefslogtreecommitdiff
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-07 20:57:00 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-07 20:57:00 +0300
commita4e6930bb629dadfcfddd7b730b1542827574c1e (patch)
treef093dd10d50da4d9de981792a192e688418b644b /src/render/Hud.cpp
parent6d96b6d04632f499e7df28d0734d1061dfd02f28 (diff)
More scripts
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,