mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Menus/Sound Options: interpolate custom sliders with transition
This commit is contained in:
parent
95378ade8f
commit
6574d0065a
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include "../console.h"
|
||||
#include "../k_menu.h"
|
||||
#include "../m_cond.h"
|
||||
#include "../m_easing.h"
|
||||
#include "../s_sound.h" // sounds consvars
|
||||
#include "../g_game.h" // cv_chatnotifications
|
||||
|
||||
|
|
@ -171,7 +172,7 @@ void restartaudio_routine(INT32)
|
|||
|
||||
void draw_routine()
|
||||
{
|
||||
int x = currentMenu->x - (menutransition.tics * 48);
|
||||
int x = currentMenu->x - M_EaseWithTransition(Easing_Linear, 5 * 48);
|
||||
int y = currentMenu->y;
|
||||
|
||||
M_DrawGenericOptions();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue