diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-08 11:21:53 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-08 11:21:53 +0100 |
commit | 0eb191371388e5b25fbc957ca928c457fc544b21 (patch) | |
tree | b3203e68d3f74c005d2fe0689bce7cf3240dd713 /src/render/Hud.cpp | |
parent | Don't show menu map and new languages if gamefiles isn't copied (diff) | |
parent | reorganize shaders; use modulate flag; update librw (diff) | |
download | re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.gz re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.bz2 re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.lz re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.xz re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.zst re3-0eb191371388e5b25fbc957ca928c457fc544b21.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 2f7b9001..4991e024 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -1150,18 +1150,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); } |