- wrap all checks of cl_syncinput in an inline function.

This commit is contained in:
Christoph Oelckers 2020-11-30 23:40:16 +01:00
parent f429871cc6
commit ae36ea88c3
20 changed files with 57 additions and 52 deletions

View file

@ -105,3 +105,8 @@ void SetupGameButtons();
void ApplyGlobalInput(InputPacket& input, ControlInfo* const hidInput, bool const crouchable = true, bool const disableToggle = false);
extern ESyncBits ActionsToSend;
double InputScale();
inline bool SyncInput()
{
return cl_syncinput;
}