mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-28 02:32:48 +00:00
k_profiles: Fix C extern handling for cvars
Reported double definition!?
This commit is contained in:
parent
fc80ee6679
commit
60a8496503
1 changed files with 4 additions and 2 deletions
|
|
@ -33,9 +33,11 @@
|
|||
#include "k_color.h"
|
||||
#include "command.h"
|
||||
|
||||
extern "C" consvar_t cv_dummyprofilefov, cv_fov[MAXSPLITSCREENPLAYERS];
|
||||
extern "C" {
|
||||
extern consvar_t cv_dummyprofilefov, cv_fov[MAXSPLITSCREENPLAYERS];
|
||||
|
||||
extern "C" CV_PossibleValue_t lastprofile_cons_t[] = {{-1, "MIN"}, {MAXPROFILES, "MAX"}, {0, NULL}};
|
||||
CV_PossibleValue_t lastprofile_cons_t[] = {{-1, "MIN"}, {MAXPROFILES, "MAX"}, {0, NULL}};
|
||||
}
|
||||
|
||||
// List of all the profiles.
|
||||
static profile_t *profilesList[MAXPROFILES+1]; // +1 because we're gonna add a default "GUEST' profile.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue