mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 19:31:05 +00:00
Fix Emblem Radar detecting already collected emblems
This commit is contained in:
parent
cb54b1e5ce
commit
bc00b13358
1 changed files with 5 additions and 1 deletions
|
@ -2577,6 +2577,7 @@ static boolean ST_doItemFinderIconsAndSound(void)
|
|||
if (stemblems >= 16)
|
||||
break;
|
||||
}
|
||||
|
||||
// Found all/none exist? Don't waste our time
|
||||
if (!stunfound)
|
||||
{
|
||||
|
@ -2602,6 +2603,9 @@ static boolean ST_doItemFinderIconsAndSound(void)
|
|||
{
|
||||
if (mo2->health == emblems[i] + 1)
|
||||
{
|
||||
if (P_EmblemWasCollected(emblems[i]))
|
||||
break;
|
||||
|
||||
soffset = (i * 20) - ((stemblems - 1) * 10);
|
||||
|
||||
newinterval = ST_drawEmeraldHuntIcon(mo2, itemhoming, soffset);
|
||||
|
@ -2736,7 +2740,7 @@ static void ST_overlayDrawer(void)
|
|||
ST_drawRaceHUD();
|
||||
|
||||
// Emerald Hunt Indicators
|
||||
if (!ST_doItemFinderIconsAndSound());
|
||||
if (!ST_doItemFinderIconsAndSound())
|
||||
ST_doHuntIconsAndSound();
|
||||
|
||||
if(!P_IsLocalPlayer(stplyr))
|
||||
|
|
Loading…
Reference in a new issue