Fix wrong game event manager interface version
This commit is contained in:
parent
f1fce4c95d
commit
9b22b72fd9
1 changed files with 3 additions and 2 deletions
|
@ -24,14 +24,15 @@ struct EngineInterfaces
|
|||
{
|
||||
}
|
||||
|
||||
EngineInterfaces(CreateInterfaceFn engineFactory, CreateInterfaceFn serverFactory)
|
||||
EngineInterfaces(CreateInterfaceFn engineFactory, CreateInterfaceFn serverFactory) :
|
||||
EngineInterfaces()
|
||||
{
|
||||
// Engine interfaces
|
||||
cvar = (ICvar*)engineFactory(CVAR_QUERY_INTERFACE_VERSION, NULL);
|
||||
engineServer = (IVEngineServer*)engineFactory(INTERFACEVERSION_VENGINESERVER, NULL);
|
||||
engineTrace = (IEngineTrace*)engineFactory(INTERFACEVERSION_ENGINETRACE_SERVER, NULL);
|
||||
gameEventManager =
|
||||
(IGameEventManager2*)engineFactory(INTERFACEVERSION_GAMEEVENTSMANAGER, NULL);
|
||||
(IGameEventManager2*)engineFactory(INTERFACEVERSION_GAMEEVENTSMANAGER2, NULL);
|
||||
serverPluginHelpers =
|
||||
(IServerPluginHelpers*)engineFactory(INTERFACEVERSION_ISERVERPLUGINHELPERS, NULL);
|
||||
uniformRandomStream =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue