mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 08:49:00 +00:00
crash fix
This commit is contained in:
parent
02741dc64f
commit
d4ae40ae99
1 changed files with 3 additions and 0 deletions
|
@ -840,6 +840,7 @@ CPickups::RenderPickUpText()
|
|||
if (aMessages[i].m_weaponType == WEAPONTYPE_TOTALWEAPONS) { // unreachable code?
|
||||
// what is this??
|
||||
sprintf(gString, "%d/%d", CWorld::Players[CWorld::PlayerInFocus].m_nCollectedPackages, 2903);
|
||||
strToPrint = nil;
|
||||
} else {
|
||||
if (aMessages[i].m_bOutOfStock)
|
||||
strToPrint = TheText.Get("STOCK");
|
||||
|
@ -971,6 +972,8 @@ CPickups::RenderPickUpText()
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (strToPrint == nil)
|
||||
continue;
|
||||
CFont::SetPropOn();
|
||||
CFont::SetBackgroundOff();
|
||||
|
||||
|
|
Loading…
Reference in a new issue