mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 22:04:08 +00:00
some SilentPatch fixes
# Conflicts: # src/core/Camera.cpp # src/weapons/Weapon.cpp
This commit is contained in:
parent
f9dc00a458
commit
35d7591def
5 changed files with 39 additions and 2 deletions
|
@ -1151,6 +1151,10 @@ int CRadar::SetCoordBlip(eBlipType type, CVector pos, int32 color, eBlipDisplay
|
|||
if (!ms_RadarTrace[nextBlip].m_bInUse)
|
||||
break;
|
||||
}
|
||||
#ifdef FIX_BUGS
|
||||
if (nextBlip == NUMRADARBLIPS)
|
||||
return -1;
|
||||
#endif
|
||||
ms_RadarTrace[nextBlip].m_eBlipType = type;
|
||||
ms_RadarTrace[nextBlip].m_nColor = color;
|
||||
ms_RadarTrace[nextBlip].m_bDim = true;
|
||||
|
@ -1182,6 +1186,10 @@ int CRadar::SetEntityBlip(eBlipType type, int32 handle, int32 color, eBlipDispla
|
|||
if (!ms_RadarTrace[nextBlip].m_bInUse)
|
||||
break;
|
||||
}
|
||||
#ifdef FIX_BUGS
|
||||
if (nextBlip == NUMRADARBLIPS)
|
||||
return -1;
|
||||
#endif
|
||||
ms_RadarTrace[nextBlip].m_eBlipType = type;
|
||||
ms_RadarTrace[nextBlip].m_nColor = color;
|
||||
ms_RadarTrace[nextBlip].m_bDim = true;
|
||||
|
@ -1526,6 +1534,10 @@ CRadar::ToggleTargetMarker(float x, float y)
|
|||
if (!ms_RadarTrace[nextBlip].m_bInUse)
|
||||
break;
|
||||
}
|
||||
#ifdef FIX_BUGS
|
||||
if (nextBlip == NUMRADARBLIPS)
|
||||
return;
|
||||
#endif
|
||||
ms_RadarTrace[nextBlip].m_eBlipType = BLIP_COORD;
|
||||
ms_RadarTrace[nextBlip].m_nColor = 0x333333FF;
|
||||
ms_RadarTrace[nextBlip].m_bDim = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue