mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-19 16:01:35 +00:00
Revert left/right movement
This commit is contained in:
parent
9c8dd54751
commit
40c37ce4c2
1 changed files with 2 additions and 32 deletions
30
src/m_menu.c
30
src/m_menu.c
|
@ -12505,23 +12505,8 @@ static void M_HandleSetupMultiPlayer(INT32 choice)
|
|||
multi_spr2 = P_GetSkinSprite2(&skins[setupm_fakeskin], SPR2_WALK, NULL);
|
||||
}
|
||||
else if (itemOn == 2) // player color
|
||||
{
|
||||
if (colorgrid)
|
||||
{
|
||||
UINT16 index = M_GetColorGridIndex(setupm_fakecolor->color);
|
||||
INT32 x = M_GridIndexToX(index);
|
||||
INT32 y = M_GridIndexToY(index);
|
||||
|
||||
x--;
|
||||
|
||||
index = M_GridPosToGridIndex(x, y);
|
||||
setupm_fakecolor = M_GridIndexToMenuColor(index);
|
||||
}
|
||||
else
|
||||
{
|
||||
setupm_fakecolor = setupm_fakecolor->prev;
|
||||
}
|
||||
|
||||
S_StartSound(NULL,sfx_menu1); // Tails
|
||||
}
|
||||
break;
|
||||
|
@ -12560,23 +12545,8 @@ static void M_HandleSetupMultiPlayer(INT32 choice)
|
|||
multi_spr2 = P_GetSkinSprite2(&skins[setupm_fakeskin], SPR2_WALK, NULL);
|
||||
}
|
||||
else if (itemOn == 2) // player color
|
||||
{
|
||||
if (colorgrid)
|
||||
{
|
||||
UINT16 index = M_GetColorGridIndex(setupm_fakecolor->color);
|
||||
INT32 x = M_GridIndexToX(index);
|
||||
INT32 y = M_GridIndexToY(index);
|
||||
|
||||
x++;
|
||||
|
||||
index = M_GridPosToGridIndex(x, y);
|
||||
setupm_fakecolor = M_GridIndexToMenuColor(index);
|
||||
}
|
||||
else
|
||||
{
|
||||
setupm_fakecolor = setupm_fakecolor->next;
|
||||
}
|
||||
|
||||
S_StartSound(NULL,sfx_menu1); // Tails
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue