1.1 --- a/core/sourcemm_api.cpp Mon Feb 26 02:51:14 2007 +0000
1.2 +++ b/core/sourcemm_api.cpp Mon Feb 26 04:24:06 2007 +0000
1.3 @@ -24,6 +24,7 @@
1.4 CGlobalVars *gpGlobals = NULL;
1.5 ICvar *icvar = NULL;
1.6 IGameEventManager2 *gameevents = NULL;
1.7 +IUniformRandomStream *engrandom = NULL;
1.8 CallClass<IVEngineServer> *enginePatch = NULL;
1.9
1.10 PLUGIN_EXPOSE(SourceMod, g_SourceMod_Core);
1.11 @@ -37,6 +38,7 @@
1.12 GET_V_IFACE_CURRENT(serverFactory, serverClients, IServerGameClients, INTERFACEVERSION_SERVERGAMECLIENTS);
1.13 GET_V_IFACE_CURRENT(engineFactory, icvar, ICvar, VENGINE_CVAR_INTERFACE_VERSION);
1.14 GET_V_IFACE_CURRENT(engineFactory, gameevents, IGameEventManager2, INTERFACEVERSION_GAMEEVENTSMANAGER2);
1.15 + GET_V_IFACE_CURRENT(engineFactory, engrandom, IUniformRandomStream, VENGINE_SERVER_RANDOM_INTERFACE_VERSION);
1.16
1.17 if ((g_pMMPlugins = (ISmmPluginManager *)g_SMAPI->MetaFactory(MMIFACE_PLMANAGER, NULL, NULL)) == NULL)
1.18 {