mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 21:50:48 +00:00
Fix that thing where you-know-who didn't have a lives icon.
This commit is contained in:
parent
8175e0836e
commit
709a43d3be
1 changed files with 2 additions and 2 deletions
|
@ -1155,7 +1155,7 @@ UINT8 R_GetColorByName(const char *name)
|
||||||
for (color = 1; color < MAXSKINCOLORS; color++)
|
for (color = 1; color < MAXSKINCOLORS; color++)
|
||||||
if (!stricmp(Color_Names[color], name))
|
if (!stricmp(Color_Names[color], name))
|
||||||
return color;
|
return color;
|
||||||
return 0;
|
return SKINCOLOR_GREEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
UINT8 R_GetSuperColorByName(const char *name)
|
UINT8 R_GetSuperColorByName(const char *name)
|
||||||
|
@ -1166,7 +1166,7 @@ UINT8 R_GetSuperColorByName(const char *name)
|
||||||
for (color = 0; color < NUMSUPERCOLORS; color++)
|
for (color = 0; color < NUMSUPERCOLORS; color++)
|
||||||
if (!stricmp(Color_Names[color + MAXSKINCOLORS], name))
|
if (!stricmp(Color_Names[color + MAXSKINCOLORS], name))
|
||||||
return ((color*5) + MAXSKINCOLORS);
|
return ((color*5) + MAXSKINCOLORS);
|
||||||
return 0;
|
return SKINCOLOR_SUPERGOLD1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue