mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* Dedicated SDK now supports ASLR enabled executables. * Complete removal of CEngineClient on the dedicated server. * Complete removal of gHLClient and g_pHLClient on the dedicated server. * Performance improvements for the dedicated server frame loop. * ConVar 'CVCallback_t' structure rebuild. * Reduced overhead throughout SDK.
20 lines
491 B
C++
20 lines
491 B
C++
//=============================================================================//
|
|
//
|
|
// Purpose: Callback functions for ConVar's.
|
|
//
|
|
//=============================================================================//
|
|
|
|
#include "core/stdafx.h"
|
|
#include "tier1/cvar.h"
|
|
#include "tier1/IConVar.h"
|
|
#include "vstdlib/callback.h"
|
|
|
|
/*
|
|
=====================
|
|
MP_GameMode_Changed_f
|
|
=====================
|
|
*/
|
|
bool MP_GameMode_Changed_f(ConVar* pVTable)
|
|
{
|
|
return SetupGamemode(mp_gamemode->GetString());
|
|
} |