diff options
Diffstat (limited to 'src/engineapi.c')
-rw-r--r-- | src/engineapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engineapi.c b/src/engineapi.c index b2272f9..0511c7d 100644 --- a/src/engineapi.c +++ b/src/engineapi.c @@ -40,7 +40,7 @@ struct VEngineServer *engserver; DECL_VFUNC(void *, GetGlobalVars, 1) void *globalvars; -void *inputsystem; +void *inputsystem, *vgui; DECL_VFUNC_DYN(void *, GetAllServerClasses) @@ -74,6 +74,7 @@ bool engineapi_init(int pluginver) { if (pim) globalvars = GetGlobalVars(pim); inputsystem = factory_inputsystem("InputSystemVersion001", 0); + vgui = factory_engine("VEngineVGui001", 0); void *srvdll; // TODO(compat): add this back when there's gamedata for 009 (no point atm) |