Update PROFILEVER handling to account for Rumble support

This commit is contained in:
toaster 2023-04-06 20:09:42 +01:00
parent 5349b45a09
commit 046ff49134
2 changed files with 3 additions and 3 deletions

View file

@ -425,9 +425,9 @@ void PR_LoadProfiles(void)
{
#ifdef DEVELOP
// Profile update 1-->2: Add gc_rankings.
// Profile update 3-->4: Add gc_startlossless.
// Profile update 3-->5: Add gc_startlossless.
if ((j == gc_rankings && version < 2) ||
(j == gc_startlossless && version < 4))
(j == gc_startlossless && version < 5))
{
for (k = 0; k < MAXINPUTMAPPING; k++)
{

View file

@ -31,7 +31,7 @@ extern "C" {
#define SKINNAMESIZE 16
#define PROFILENAMELEN 6
#define PROFILEVER 4
#define PROFILEVER 5
#define MAXPROFILES 16
#define PROFILESFILE "ringprofiles.prf"
#define PROFILE_GUEST 0