summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-06 10:23:28 +0100
committeraap <aap@papnet.eu>2021-02-06 10:23:28 +0100
commitcc435ea71187b07a5dd1fbd817dcfb31c0230d7f (patch)
tree959c628cf50e7e6e157a8defd4d42c53ca190cf0 /src/render/Hud.cpp
parentfix generic.txd crash (diff)
parentfix (diff)
downloadre3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.gz
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.bz2
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.lz
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.xz
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.tar.zst
re3-cc435ea71187b07a5dd1fbd817dcfb31c0230d7f.zip
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r--src/render/Hud.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index ba7d52db..91503917 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -1140,18 +1140,18 @@ void CHud::Draw()
if (IntroRect.m_nTextureId >= 0) {
CRect rect (
IntroRect.m_sRect.left,
- IntroRect.m_sRect.top,
+ IntroRect.m_sRect.bottom,
IntroRect.m_sRect.right,
- IntroRect.m_sRect.bottom );
+ IntroRect.m_sRect.top );
CTheScripts::ScriptSprites[IntroRect.m_nTextureId].Draw(rect, IntroRect.m_sColor);
}
else {
CRect rect (
IntroRect.m_sRect.left,
- IntroRect.m_sRect.top,
+ IntroRect.m_sRect.bottom,
IntroRect.m_sRect.right,
- IntroRect.m_sRect.bottom );
+ IntroRect.m_sRect.top );
CSprite2d::DrawRect(rect, IntroRect.m_sColor);
}