metamod/dllapi.cpp
branchB-work
changeset 195 c7737ac9af4f
parent 184 5b2e0192690d
child 209 812e3285c758
     1.1 --- a/metamod/dllapi.cpp	Tue Jan 24 15:25:23 2006 +0000
     1.2 +++ b/metamod/dllapi.cpp	Tue Jan 24 16:56:01 2006 +0000
     1.3 @@ -194,6 +194,7 @@
     1.4  	Plugins->unpause_all();
     1.5  	// Plugins->retry_all(PT_CHANGELEVEL);
     1.6  	g_Players.clear_all_cvar_queries();
     1.7 +	requestid_counter = 0;
     1.8  	RETURN_API_void();
     1.9  }
    1.10  void mm_PlayerPreThink(edict_t *pEntity) {
    1.11 @@ -479,11 +480,13 @@
    1.12  C_DLLEXPORT int GetNewDLLFunctions(NEW_DLL_FUNCTIONS *pNewFunctionTable, int *interfaceVersion) 
    1.13  {
    1.14  	META_DEBUG(6, ("called: GetNewDLLFunctions; version=%d", *interfaceVersion));
    1.15 +#if 0 // ~dvander - but then you can't use cvar querying on many mods...
    1.16  	// Don't provide these functions to engine if gamedll doesn't provide
    1.17  	// them.  Otherwise, we're in the position of having to provide answers
    1.18  	// we can't necessarily provide (for instance, ShouldCollide())...
    1.19  	if(!GameDLL.funcs.newapi_table)
    1.20  		return(FALSE);
    1.21 +#endif
    1.22  
    1.23  	if(!pNewFunctionTable) {
    1.24  		META_ERROR("GetNewDLLFunctions called with null pNewFunctionTable");