summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-07 23:05:24 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-07 23:05:24 +0200
commit4f3d17a81c5be7112b9adff89bc621a770bf1ffa (patch)
tree46416a036782540ed6e0d330d082bb9a544e87a7 /src/render
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-4f3d17a81c5be7112b9adff89bc621a770bf1ffa.tar
re3-4f3d17a81c5be7112b9adff89bc621a770bf1ffa.tar.gz
re3-4f3d17a81c5be7112b9adff89bc621a770bf1ffa.tar.bz2
re3-4f3d17a81c5be7112b9adff89bc621a770bf1ffa.tar.lz
re3-4f3d17a81c5be7112b9adff89bc621a770bf1ffa.tar.xz
re3-4f3d17a81c5be7112b9adff89bc621a770bf1ffa.tar.zst
re3-4f3d17a81c5be7112b9adff89bc621a770bf1ffa.zip
Diffstat (limited to '')
-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 b9ae3e8d..b3264dc7 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_Type && CTheScripts::IntroRectangles[i].m_bBeforeFade) {
+ if (CTheScripts::IntroRectangles[i].m_bIsUsed && CTheScripts::IntroRectangles[i].m_bBeforeFade) {
if (CTheScripts::IntroRectangles[i].m_nTextureId >= 0) {
CRect rect = {
CTheScripts::IntroRectangles[i].m_sRect.left,