CHud::Draw fix

This commit is contained in:
withmorten 2021-02-04 18:29:47 +01:00
parent 958c828a2c
commit 42342745f3
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}