diff -r d19f2129495e -r c7737ac9af4f metamod/dllapi.cpp --- a/metamod/dllapi.cpp Tue Jan 24 15:25:23 2006 +0000 +++ b/metamod/dllapi.cpp Tue Jan 24 16:56:01 2006 +0000 @@ -194,6 +194,7 @@ Plugins->unpause_all(); // Plugins->retry_all(PT_CHANGELEVEL); g_Players.clear_all_cvar_queries(); + requestid_counter = 0; RETURN_API_void(); } void mm_PlayerPreThink(edict_t *pEntity) { @@ -479,11 +480,13 @@ C_DLLEXPORT int GetNewDLLFunctions(NEW_DLL_FUNCTIONS *pNewFunctionTable, int *interfaceVersion) { META_DEBUG(6, ("called: GetNewDLLFunctions; version=%d", *interfaceVersion)); +#if 0 // ~dvander - but then you can't use cvar querying on many mods... // Don't provide these functions to engine if gamedll doesn't provide // them. Otherwise, we're in the position of having to provide answers // we can't necessarily provide (for instance, ShouldCollide())... if(!GameDLL.funcs.newapi_table) return(FALSE); +#endif if(!pNewFunctionTable) { META_ERROR("GetNewDLLFunctions called with null pNewFunctionTable");