mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 06:22:26 +00:00
Fix update alert
- UPDATE_ALERT is not defined for DEVELOP, instead of being commented out manually. - Added button prompt to the alert, removed "Press a key" text from the alert
This commit is contained in:
parent
4e72836ea1
commit
c8b0ac1ad4
2 changed files with 4 additions and 6 deletions
|
|
@ -126,8 +126,8 @@ extern char logfilename[1024];
|
|||
// the other options the same.
|
||||
|
||||
// Comment out this line to completely disable update alerts (recommended for testing, but not for release)
|
||||
#ifndef BETAVERSION
|
||||
//#define UPDATE_ALERT
|
||||
#if !defined(BETAVERSION) && !defined(DEVELOP)
|
||||
#define UPDATE_ALERT
|
||||
#endif
|
||||
|
||||
// The string used in the alert that pops up in the event of an update being available.
|
||||
|
|
@ -137,9 +137,7 @@ extern char logfilename[1024];
|
|||
"Please visit kartkrew.org to download it.\n"\
|
||||
"\n"\
|
||||
"You are using version: %s\n"\
|
||||
"The newest version is: %s\n"\
|
||||
"\n"\
|
||||
"(Press a key)\n"
|
||||
"The newest version is: %s\n"
|
||||
|
||||
// For future use, the codebase is the version of SRB2 that the modification is based on,
|
||||
// and should not be changed unless you have merged changes between versions of SRB2
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ static void M_CheckMODVersion(int id)
|
|||
#ifdef HAVE_THREADS
|
||||
I_lock_mutex(&k_menu_mutex);
|
||||
#endif
|
||||
M_StartMessage("Game Update", updatestring, NULL, MM_NOTHING, NULL, NULL);
|
||||
M_StartMessage("Game Update", updatestring, NULL, MM_NOTHING, NULL, "Return to Menu");
|
||||
#ifdef HAVE_THREADS
|
||||
I_unlock_mutex(k_menu_mutex);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue