mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'profiledefault' into 'master'
Add profile color and followercolor to Default color rotation on character select screen See merge request kart-krew-dev/ring-racers!34
This commit is contained in:
commit
17ff0fea89
1 changed files with 7 additions and 1 deletions
|
|
@ -1019,7 +1019,10 @@ static void M_HandleColorRotate(setup_player_t *p, UINT8 num)
|
|||
{
|
||||
if (p->skin >= 0)
|
||||
{
|
||||
p->color = SKINCOLOR_NONE;
|
||||
if (p->color == SKINCOLOR_NONE)
|
||||
p->color = PR_GetProfile(p->profilen)->color;
|
||||
else
|
||||
p->color = SKINCOLOR_NONE;
|
||||
p->rotate = CSROTATETICS;
|
||||
p->hitlag = true;
|
||||
S_StartSound(NULL, sfx_s3k7b); //sfx_s3kc3s
|
||||
|
|
@ -1252,8 +1255,11 @@ static void M_HandleFollowerColorRotate(setup_player_t *p, UINT8 num)
|
|||
}
|
||||
else if (M_MenuExtraPressed(num))
|
||||
{
|
||||
UINT16 profile_followercolor = PR_GetProfile(p->profilen)->followercolor;
|
||||
if (p->followercolor == FOLLOWERCOLOR_MATCH)
|
||||
p->followercolor = FOLLOWERCOLOR_OPPOSITE;
|
||||
else if (p->followercolor == FOLLOWERCOLOR_OPPOSITE && profile_followercolor != FOLLOWERCOLOR_OPPOSITE && profile_followercolor != FOLLOWERCOLOR_MATCH)
|
||||
p->followercolor = profile_followercolor;
|
||||
else if (p->followercolor == SKINCOLOR_NONE)
|
||||
p->followercolor = FOLLOWERCOLOR_MATCH;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue