diff --git a/releases/3.1/source/mod/AvHClientVariables.h b/releases/3.1/source/mod/AvHClientVariables.h index 118e1efc..1f80139d 100644 --- a/releases/3.1/source/mod/AvHClientVariables.h +++ b/releases/3.1/source/mod/AvHClientVariables.h @@ -39,7 +39,7 @@ extern cvar_t* cl_musicdir; #define kvLabelMaps "cl_labelmaps" // :puzl // tankefugl: 0001070 - enables forced gamma ramp loading -#define kvGammaRamp "cl_gammaramp" +#define kvDisableGammaRamp "cl_gammaramp" // :tankefugl #define kvCMHotKeys "cl_cmhotkeys" #define kvForceDefaultFOV "cl_forcedefaultfov" diff --git a/releases/3.1/source/mod/AvHHud.cpp b/releases/3.1/source/mod/AvHHud.cpp index 743772f2..7e6b31eb 100644 --- a/releases/3.1/source/mod/AvHHud.cpp +++ b/releases/3.1/source/mod/AvHHud.cpp @@ -1818,7 +1818,7 @@ bool AvHHud::SetGamma(float inSlope) theGammaToTry -= kGammaIncrement; sGameGammaTable.ProcessSlope(theGammaToTry); - // tankefugl: fakes a successful gamma ramp change if cl_gammaramp is set to 0 + // tankefugl: fakes a successful gamma ramp change if cl_gammaramp is set to 1 if((CVAR_GET_FLOAT(kvDisableGammaRamp) == 1) || sGameGammaTable.InitializeToVideoState()) { // Tell UI components so they can change shading to look the same diff --git a/releases/3.1/user.scr b/releases/3.1/user.scr index 39909725..2073f0a7 100644 --- a/releases/3.1/user.scr +++ b/releases/3.1/user.scr @@ -93,9 +93,9 @@ DESCRIPTION INFO_OPTIONS "cl_gammaramp" { - "Enable gamma ramp" + "Disable gamma ramp" { BOOL } - { "1" } + { "0" } } "hud_fastswitch"