diff options
author | withmorten <morten.with@gmail.com> | 2021-02-04 18:29:47 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-02-04 18:29:47 +0100 |
commit | 42342745f3e8506be79b4ebc8eb5bfe5982818ba (patch) | |
tree | e60819e6f363511643025056bb053eadac4a1991 /src | |
parent | 958c828a2c8ec55dbaa9fecb4712a5964d2d7adc (diff) |
CHud::Draw fix
Diffstat (limited to 'src')
-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); } |