mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Remove inputScale
global and make static in mainloop.cpp
.
This commit is contained in:
parent
1938efabe6
commit
9961a66a1f
3 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue