mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Fix some V_FLIP stuff in player/follower drawing
This commit is contained in:
parent
478e9cee7c
commit
84a31e288f
1 changed files with 6 additions and 4 deletions
10
src/m_menu.c
10
src/m_menu.c
|
|
@ -7639,7 +7639,7 @@ static void M_StartGrandPrix(INT32 choice)
|
||||||
grandprixinfo.gamespeed = KARTSPEED_HARD;
|
grandprixinfo.gamespeed = KARTSPEED_HARD;
|
||||||
grandprixinfo.masterbots = true;
|
grandprixinfo.masterbots = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
grandprixinfo.encore = (boolean)(cv_dummygpencore.value);
|
grandprixinfo.encore = (boolean)(cv_dummygpencore.value);
|
||||||
|
|
@ -9552,7 +9552,7 @@ static void M_DrawSetupMultiPlayerMenu(void)
|
||||||
|
|
||||||
sprframe = &sprdef->spriteframes[frame];
|
sprframe = &sprdef->spriteframes[frame];
|
||||||
patch = W_CachePatchNum(sprframe->lumppat[1], PU_CACHE);
|
patch = W_CachePatchNum(sprframe->lumppat[1], PU_CACHE);
|
||||||
if (sprframe->flip & 1) // Only for first sprite
|
if (sprframe->flip & 2) // Only for first sprite
|
||||||
flags |= V_FLIP; // This sprite is left/right flipped!
|
flags |= V_FLIP; // This sprite is left/right flipped!
|
||||||
|
|
||||||
// draw box around guy
|
// draw box around guy
|
||||||
|
|
@ -9610,10 +9610,12 @@ static void M_DrawSetupMultiPlayerMenu(void)
|
||||||
follower_frame = 0; // frame doesn't exist, we went beyond it... what?
|
follower_frame = 0; // frame doesn't exist, we went beyond it... what?
|
||||||
sprframe = &sprdef->spriteframes[follower_frame];
|
sprframe = &sprdef->spriteframes[follower_frame];
|
||||||
patch = W_CachePatchNum(sprframe->lumppat[1], PU_CACHE);
|
patch = W_CachePatchNum(sprframe->lumppat[1], PU_CACHE);
|
||||||
if (sprframe->flip & 1) // Only for first sprite
|
if (sprframe->flip & 2) // Only for first sprite
|
||||||
flags |= V_FLIP; // This sprite is left/right flipped!
|
flags |= V_FLIP; // This sprite is left/right flipped!
|
||||||
|
|
||||||
// draw player sprite
|
// @TODO: Reminder that followers on the menu right now do NOT support the 'followercolor' command, considering this whole menu is getting remade anyway, I see no point in incorporating it in right now.
|
||||||
|
|
||||||
|
// draw follower sprite
|
||||||
if (setupm_fakecolor) // inverse should never happen
|
if (setupm_fakecolor) // inverse should never happen
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue