mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-11 20:11:33 +03:00
Added experimental static/global VScript hooks not tied to any particular class, starting with the integration of OnSave/OnRestore
This commit is contained in:
@@ -43,6 +43,9 @@ extern ScriptClassDesc_t * GetScriptDesc( CBaseEntity * );
|
||||
extern int vscript_token;
|
||||
int vscript_token_hack = vscript_token;
|
||||
|
||||
// HACKHACK: VScript library relies on developer convar existing
|
||||
ConVar developer( "developer", "1", 0, "Set developer message level." ); // developer mode
|
||||
|
||||
HSCRIPT VScriptCompileScript( const char *pszScriptName, bool bWarnMissing )
|
||||
{
|
||||
if ( !g_pScriptVM )
|
||||
|
||||
Reference in New Issue
Block a user