diff options
author | aap <aap@papnet.eu> | 2021-02-06 10:23:28 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-06 10:23:28 +0100 |
commit | cc435ea71187b07a5dd1fbd817dcfb31c0230d7f (patch) | |
tree | 959c628cf50e7e6e157a8defd4d42c53ca190cf0 /src/render/Hud.cpp | |
parent | fix generic.txd crash (diff) | |
parent | fix (diff) | |
download | re3-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.cpp | 8 |
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); } |