core/metamod.cpp
changeset 592 a38d1ebe28d6
parent 591 65250cbdb827
child 594 10748cb1c7f5
     1.1 --- a/core/metamod.cpp	Sun Nov 23 23:45:57 2008 -0600
     1.2 +++ b/core/metamod.cpp	Sun Nov 23 23:54:03 2008 -0600
     1.3 @@ -138,12 +138,6 @@
     1.4  		} \
     1.5  	}
     1.6  
     1.7 -void
     1.8 -mm_SetVspInfo(IServerPluginCallbacks *ispc, unsigned int version)
     1.9 -{
    1.10 -	vsp_version = version;
    1.11 -}
    1.12 -
    1.13  /* Initialize everything here */
    1.14  void
    1.15  mm_InitializeForLoad()
    1.16 @@ -1069,8 +1063,11 @@
    1.17  	return engine_build;
    1.18  }
    1.19  
    1.20 -void MetamodSource::NotifyVSPListening(IServerPluginCallbacks *callbacks)
    1.21 +void MetamodSource::NotifyVSPListening(IServerPluginCallbacks *callbacks, int version)
    1.22  {
    1.23 +	if (version != -1)
    1.24 +		vsp_version = version;
    1.25 +	
    1.26  	vsp_callbacks = callbacks;
    1.27  	ITER_EVENT(OnVSPListening, (callbacks));
    1.28  }