mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Call M_AnimateFollower in one place, instead of duplicating between general and specific func.
Should be resilient against additional setup steps added later!
This commit is contained in:
parent
15ef649e11
commit
67b2f5e7de
1 changed files with 1 additions and 3 deletions
|
|
@ -1192,8 +1192,6 @@ static void M_HandleFollowerColorRotate(setup_player_t *p, UINT8 num)
|
||||||
if (cv_splitdevice.value)
|
if (cv_splitdevice.value)
|
||||||
num = 0;
|
num = 0;
|
||||||
|
|
||||||
M_AnimateFollower(p);
|
|
||||||
|
|
||||||
if (menucmd[num].dpad_lr > 0)
|
if (menucmd[num].dpad_lr > 0)
|
||||||
{
|
{
|
||||||
p->followercolor = M_GetColorAfter(&p->colors, p->followercolor, 1);
|
p->followercolor = M_GetColorAfter(&p->colors, p->followercolor, 1);
|
||||||
|
|
@ -1248,7 +1246,7 @@ boolean M_CharacterSelectHandler(INT32 choice)
|
||||||
setup_player_t *p = &setup_player[i];
|
setup_player_t *p = &setup_player[i];
|
||||||
boolean playersChanged = false;
|
boolean playersChanged = false;
|
||||||
|
|
||||||
if (p->mdepth == CSSTEP_READY)
|
if (p->mdepth > CSSTEP_FOLLOWER)
|
||||||
{
|
{
|
||||||
M_AnimateFollower(p);
|
M_AnimateFollower(p);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue