[Exception]: Remove this (#668)
This commit is contained in:
parent
01a629d02b
commit
0539fe3e24
@ -169,7 +169,7 @@ namespace Components
|
||||
{
|
||||
SetMiniDumpType(Flags::HasFlag("bigminidumps"), Flags::HasFlag("reallybigminidumps"));
|
||||
|
||||
SetUnhandledExceptionFilter(&Exception::ExceptionFilter);
|
||||
SetUnhandledExceptionFilter(&ExceptionFilter);
|
||||
|
||||
Utils::Hook(0x4B241F, LongJmp_Internal_Stub, HOOK_CALL).install()->quick();
|
||||
Utils::Hook(0x61DB44, LongJmp_Internal_Stub, HOOK_CALL).install()->quick();
|
||||
|
@ -77,7 +77,7 @@ namespace Components
|
||||
return Party::Container.motd;
|
||||
}
|
||||
|
||||
Game::dvar_t* Party::RegisterMinPlayers(const char* name, int /*value*/, int /*min*/, int max, Game::DvarFlags flag, const char* description)
|
||||
Game::dvar_t* Party::RegisterMinPlayers(const char* name, int /*value*/, int /*min*/, int max, unsigned __int16 flag, const char* description)
|
||||
{
|
||||
return Dvar::Register<int>(name, 1, 1, max, Game::DVAR_INIT | flag, description).get<Game::dvar_t*>();
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ namespace Components
|
||||
|
||||
static SteamID GenerateLobbyId();
|
||||
|
||||
static Game::dvar_t* RegisterMinPlayers(const char* name, int value, int min, int max, Game::DvarFlags flag, const char* description);
|
||||
static Game::dvar_t* RegisterMinPlayers(const char* name, int value, int min, int max, unsigned __int16 flag, const char* description);
|
||||
|
||||
static DWORD UIDvarIntStub(char* dvar);
|
||||
};
|
||||
|
@ -27,8 +27,8 @@ namespace Game
|
||||
unsigned __int16 classnum;
|
||||
};
|
||||
|
||||
typedef void(__cdecl* BuiltinFunction)();
|
||||
typedef void(__cdecl* BuiltinMethod)(scr_entref_t);
|
||||
typedef void(*BuiltinFunction)();
|
||||
typedef void(*BuiltinMethod)(scr_entref_t);
|
||||
|
||||
struct BuiltinFunctionDef
|
||||
{
|
||||
@ -383,7 +383,7 @@ namespace Game
|
||||
SURF_TYPE_COUNT
|
||||
};
|
||||
|
||||
enum DvarFlags : unsigned __int16
|
||||
enum : unsigned __int16
|
||||
{
|
||||
DVAR_NONE = 0, // No flags
|
||||
DVAR_ARCHIVE = 1 << 0, // Set to cause it to be saved to config_mp.cfg of the client
|
||||
|
Loading…
Reference in New Issue
Block a user