- Remove inputScale global and make static in mainloop.cpp.

This commit is contained in:
Mitchell Richters 2023-02-05 08:37:37 +11:00
parent 1938efabe6
commit 9961a66a1f
3 changed files with 1 additions and 2 deletions

View file

@ -50,7 +50,6 @@ ESyncBits ActionsToSend = 0;
static int dpad_lock = 0;
bool sendPause;
bool crouch_toggle;
double inputScale;
// Mouse speeds
CVAR(Float, m_pitch, 1.f, CVAR_GLOBALCONFIG | CVAR_ARCHIVE)

View file

@ -105,7 +105,6 @@ void SetupGameButtons();
void ApplyGlobalInput(InputPacket& input, ControlInfo* const hidInput, bool const crouchable = true, bool const disableToggle = false);
extern ESyncBits ActionsToSend;
extern bool gamesetinput;
extern double inputScale;
inline bool SyncInput()
{

View file

@ -101,6 +101,7 @@ ticcmd_t playercmds[MAXPLAYERS];
static uint64_t stabilityticduration = 0;
static uint64_t stabilitystarttime = 0;
static double inputScale;
bool r_NoInterpolate;
int entertic;