sourcemm/ISmmPlugin.h
changeset 140 800dc9ba92c5
parent 139 84948190c34b
child 141 84488512ee3a
     1.1 --- a/sourcemm/ISmmPlugin.h	Thu Oct 20 14:52:49 2005 +0000
     1.2 +++ b/sourcemm/ISmmPlugin.h	Thu Oct 20 14:57:02 2005 +0000
     1.3 @@ -219,7 +219,7 @@
     1.4  
     1.5  #define PLUGIN_SAVEVARS() \
     1.6  	g_SMAPI = ismm; \
     1.7 -	g_SHPtr = ismm->MetaQuery(MMIFACE_SOURCEHOOK, NULL); \
     1.8 +	g_SHPtr = static_cast<SourceHook::ISourceHook *>(ismm->MetaFactory(MMIFACE_SOURCEHOOK, NULL, NULL)); \
     1.9  	g_PLAPI = static_cast<ISmmPlugin *>(this); \
    1.10  	g_PLID = id;
    1.11