mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
Merge branch 'miami' of github.com:GTAmodding/re3 into miami
This commit is contained in:
commit
c74c7ce1d4
@ -1385,10 +1385,13 @@ void
|
|||||||
CMoneyMessages::RegisterOne(CVector vecPos, const char *pText, uint8 bRed, uint8 bGreen, uint8 bBlue, float fSize, float fOpacity)
|
CMoneyMessages::RegisterOne(CVector vecPos, const char *pText, uint8 bRed, uint8 bGreen, uint8 bBlue, float fSize, float fOpacity)
|
||||||
{
|
{
|
||||||
uint32 i;
|
uint32 i;
|
||||||
for(i = 0; i < NUMMONEYMESSAGES; i++)
|
#ifdef FIX_BUGS
|
||||||
if(aMoneyMessages[i].m_nTimeRegistered != 0) break;
|
for(i = 0; i < NUMMONEYMESSAGES && aMoneyMessages[i].m_nTimeRegistered != 0; i++);
|
||||||
if(i == NUMMONEYMESSAGES) return;
|
#else
|
||||||
|
for(i = 0; aMoneyMessages[i].m_nTimeRegistered != 0 && i < NUMMONEYMESSAGES; i++);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if(i < NUMMONEYMESSAGES) {
|
||||||
// Add data of this money message to the array
|
// Add data of this money message to the array
|
||||||
AsciiToUnicode(pText, aMoneyMessages[i].m_aText);
|
AsciiToUnicode(pText, aMoneyMessages[i].m_aText);
|
||||||
|
|
||||||
@ -1399,6 +1402,7 @@ CMoneyMessages::RegisterOne(CVector vecPos, const char *pText, uint8 bRed, uint8
|
|||||||
aMoneyMessages[i].m_Colour.blue = bBlue;
|
aMoneyMessages[i].m_Colour.blue = bBlue;
|
||||||
aMoneyMessages[i].m_fSize = fSize;
|
aMoneyMessages[i].m_fSize = fSize;
|
||||||
aMoneyMessages[i].m_fOpacity = fOpacity;
|
aMoneyMessages[i].m_fOpacity = fOpacity;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CRGBA FoamColour(255, 255, 255, 255);
|
CRGBA FoamColour(255, 255, 255, 255);
|
||||||
|
Loading…
Reference in New Issue
Block a user