Move #include top of file in ExploitFixes (#218)
* Move Include in ExploitFixes * Formatting
This commit is contained in:
parent
5311105b5c
commit
22a1ce87fa
|
@ -4,6 +4,7 @@
|
|||
#include "ExploitFixes_UTF8Parser.h"
|
||||
#include "NSMem.h"
|
||||
#include "cvar.h"
|
||||
#include "gameutils.h"
|
||||
|
||||
ConVar* ns_exploitfixes_log;
|
||||
#define SHOULD_LOG (ns_exploitfixes_log->m_Value.m_nValue > 0)
|
||||
|
@ -271,7 +272,6 @@ INVALID_CMD:
|
|||
// basically: by default r2 isn't set as a valve mod, meaning that m_bRestrictServerCommands is false
|
||||
// this is HORRIBLE for security, because it means servers can run arbitrary concommands on clients
|
||||
// especially since we have script commands this could theoretically be awful
|
||||
#include "gameutils.h"
|
||||
|
||||
typedef void (*IsValveModType)();
|
||||
IsValveModType IsValveMod;
|
||||
|
|
Loading…
Reference in New Issue