mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 23:54:09 +00:00
make building with Codewarrior 7 possible
This commit is contained in:
parent
4e477a17b2
commit
29fb996b00
48 changed files with 492 additions and 300 deletions
|
@ -1138,20 +1138,20 @@ void CHud::Draw()
|
|||
// Yeah, top and bottom changed place. R* vision
|
||||
if (IntroRect.m_bIsUsed && IntroRect.m_bBeforeFade) {
|
||||
if (IntroRect.m_nTextureId >= 0) {
|
||||
CRect rect = {
|
||||
CRect rect (
|
||||
IntroRect.m_sRect.left,
|
||||
IntroRect.m_sRect.top,
|
||||
IntroRect.m_sRect.right,
|
||||
IntroRect.m_sRect.bottom };
|
||||
IntroRect.m_sRect.bottom );
|
||||
|
||||
CTheScripts::ScriptSprites[IntroRect.m_nTextureId].Draw(rect, IntroRect.m_sColor);
|
||||
}
|
||||
else {
|
||||
CRect rect = {
|
||||
CRect rect (
|
||||
IntroRect.m_sRect.left,
|
||||
IntroRect.m_sRect.top,
|
||||
IntroRect.m_sRect.right,
|
||||
IntroRect.m_sRect.bottom };
|
||||
IntroRect.m_sRect.bottom );
|
||||
|
||||
CSprite2d::DrawRect(rect, IntroRect.m_sColor);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue