mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Set menu delay between menus
This commit is contained in:
parent
4cef6ee0df
commit
58d5d1759b
2 changed files with 4 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ extern INT16 skullAnimCounter; // skull animation counter
|
|||
|
||||
extern INT32 menuKey; // keyboard key pressed for menu
|
||||
|
||||
#define MENUDELAYTIME 3
|
||||
#define MENUDELAYTIME 5
|
||||
extern INT16 menuInputDelay;
|
||||
|
||||
extern struct menutransition_s {
|
||||
|
|
|
|||
|
|
@ -892,6 +892,7 @@ void M_StartControlPanel(void)
|
|||
}
|
||||
|
||||
menuactive = true;
|
||||
menuInputDelay = MENUDELAYTIME;
|
||||
|
||||
if (demo.playback)
|
||||
{
|
||||
|
|
@ -1079,6 +1080,8 @@ void M_SetupNextMenu(menu_t *menudef, boolean notransition)
|
|||
{
|
||||
INT16 i;
|
||||
|
||||
menuInputDelay = MENUDELAYTIME;
|
||||
|
||||
if (!notransition)
|
||||
{
|
||||
if (currentMenu->transitionID == menudef->transitionID
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue