diff --git a/sourcemm/CSmmAPI.cpp b/sourcemm/CSmmAPI.cpp index 8852dfe..d6c619e 100644 --- a/sourcemm/CSmmAPI.cpp +++ b/sourcemm/CSmmAPI.cpp @@ -330,7 +330,7 @@ void *CSmmAPI::InterfaceSearch(CreateInterfaceFn fn, const char *iface, int max, do { - if ( (pf = (fn)(_if, NULL)) != NULL ) + if ( (pf = (fn)(_if, ret)) != NULL ) break; if (num > max) break; diff --git a/sourcemm/changelog.txt b/sourcemm/changelog.txt index 8935f5f..5bb7cc1 100644 --- a/sourcemm/changelog.txt +++ b/sourcemm/changelog.txt @@ -1,3 +1,12 @@ +2006/01/07 1.2: + - Added SourceHook API for modifying parameters in the hook chain. + - Added SourceHook API for declaring and hooking manual vtable hooks. + - Added better API for querying an interface factory. + - Added API for formatting an OS-independent path. + - Fixed bug where failed plugins could crash the plugin list. + - NOTE: SourceHook changes may require plugins to be recompiled against + the new API. + 2005/12/06 1.1.2: - Added interface overriding/sharing examples to sample plugins. - Added API to help guessing at Valve interface versions.