diff -r 842dc60e31fd -r 7611078f11cd core/sourcemm_api.cpp --- a/core/sourcemm_api.cpp Thu Feb 08 01:11:09 2007 +0000 +++ b/core/sourcemm_api.cpp Thu Feb 08 01:11:45 2007 +0000 @@ -22,6 +22,7 @@ IServerGameClients *serverClients = NULL; ISmmPluginManager *g_pMMPlugins = NULL; CGlobalVars *gpGlobals = NULL; +IGameEventManager2 *gameevents = NULL; PLUGIN_EXPOSE(SourceMod, g_SourceMod_Core); @@ -32,6 +33,7 @@ GET_V_IFACE_ANY(serverFactory, gamedll, IServerGameDLL, INTERFACEVERSION_SERVERGAMEDLL); GET_V_IFACE_CURRENT(engineFactory, engine, IVEngineServer, INTERFACEVERSION_VENGINESERVER); GET_V_IFACE_CURRENT(serverFactory, serverClients, IServerGameClients, INTERFACEVERSION_SERVERGAMECLIENTS); + GET_V_IFACE_CURRENT(engineFactory, gameevents, IGameEventManager2, INTERFACEVERSION_GAMEEVENTSMANAGER2); if ((g_pMMPlugins = (ISmmPluginManager *)g_SMAPI->MetaFactory(MMIFACE_PLMANAGER, NULL, NULL)) == NULL) {