diff --git a/source/core/gamecvars.cpp b/source/core/gamecvars.cpp index ed869e112..1008b5d1f 100644 --- a/source/core/gamecvars.cpp +++ b/source/core/gamecvars.cpp @@ -84,6 +84,7 @@ CVARD(Bool, cl_exhumedoldturn, false, CVAR_ARCHIVE, "enable/disable legacy turni CVARD(Bool, cl_hudinterpolation, true, CVAR_ARCHIVE, "enable/disable HUD (weapon drawer) interpolation") CVARD(Bool, cl_bloodvanillarun, true, CVAR_ARCHIVE, "enable/disable Blood's vanilla run mode") CVARD(Bool, cl_bloodvanillabobbing, true, CVAR_ARCHIVE, "enable/disable Blood's vanilla bobbing while not using vanilla run mode") +CVARD(Bool, cl_bloodhudinterp, false, CVAR_ARCHIVE, "enable/disable Blood's HUD interpolation") CUSTOM_CVARD(Int, cl_autoaim, 1, CVAR_ARCHIVE|CVAR_USERINFO, "enable/disable weapon autoaim") diff --git a/source/core/gamecvars.h b/source/core/gamecvars.h index 2aa589599..4328b0b43 100644 --- a/source/core/gamecvars.h +++ b/source/core/gamecvars.h @@ -29,6 +29,7 @@ EXTERN_CVAR(Bool, cl_exhumedoldturn) EXTERN_CVAR(Bool, cl_hudinterpolation) EXTERN_CVAR(Bool, cl_bloodvanillarun) EXTERN_CVAR(Bool, cl_bloodvanillabobbing) +EXTERN_CVAR(Bool, cl_bloodhudinterp) EXTERN_CVAR(Bool, demorec_seeds_cvar) EXTERN_CVAR(Bool, demoplay_diffs) diff --git a/source/games/blood/src/qav.cpp b/source/games/blood/src/qav.cpp index 43ef1a8e3..0501a4082 100644 --- a/source/games/blood/src/qav.cpp +++ b/source/games/blood/src/qav.cpp @@ -100,7 +100,7 @@ void QAV::Draw(double x, double y, int ticks, int stat, int shade, int palnum, b double tileZ; double tileA; - if (prevTile && cl_hudinterpolation && (nFrames > 1) && (nFrame != oFrame) && (smoothratio != MaxSmoothRatio) && interpolate) + if (cl_bloodhudinterp && prevTile && cl_hudinterpolation && (nFrames > 1) && (nFrame != oFrame) && (smoothratio != MaxSmoothRatio) && interpolate) { tileX += interpolatedvaluef(prevTile->x, thisTile->x, smoothratio); tileY += interpolatedvaluef(prevTile->y, thisTile->y, smoothratio);