summaryrefslogtreecommitdiff
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-08 00:05:24 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-08 00:05:24 +0300
commit4f3d17a81c5be7112b9adff89bc621a770bf1ffa (patch)
tree46416a036782540ed6e0d330d082bb9a544e87a7 /src/render/Hud.cpp
parent4c86469cc91ce1b1cb767e35a0bf8358d9800ac8 (diff)
More script
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 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,