mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix skincolor selection
This commit is contained in:
parent
388528d7b8
commit
d755a7ae6c
1 changed files with 6 additions and 1 deletions
|
|
@ -9511,7 +9511,7 @@ static void M_DrawSetupMultiPlayerMenu(void)
|
||||||
#define charw 72
|
#define charw 72
|
||||||
#define indexwidth 8
|
#define indexwidth 8
|
||||||
{
|
{
|
||||||
const INT32 numcolors = (282-charw)/(2*indexwidth); // Number of colors per side
|
const INT32 numcolors = (250-charw)/(2*indexwidth); // Number of colors per side
|
||||||
INT32 x = mx;
|
INT32 x = mx;
|
||||||
INT32 w = indexwidth; // Width of a singular color block
|
INT32 w = indexwidth; // Width of a singular color block
|
||||||
menucolor_t *mc = setupm_fakecolor->prev; // Last accessed color
|
menucolor_t *mc = setupm_fakecolor->prev; // Last accessed color
|
||||||
|
|
@ -10079,6 +10079,11 @@ static boolean M_QuitMultiPlayerMenu(void)
|
||||||
void M_AddMenuColor(UINT16 color) {
|
void M_AddMenuColor(UINT16 color) {
|
||||||
menucolor_t *c;
|
menucolor_t *c;
|
||||||
|
|
||||||
|
// SRB2Kart: I do not understand vanilla doesn't need this but WE do???!?!??!
|
||||||
|
if (!skincolors[color].accessible) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (color >= numskincolors) {
|
if (color >= numskincolors) {
|
||||||
CONS_Printf("M_AddMenuColor: color %d does not exist.",color);
|
CONS_Printf("M_AddMenuColor: color %d does not exist.",color);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue