diff -r 06e7fe7e106e -r bf16cf249d3d core/PlayerManager.cpp --- a/core/PlayerManager.cpp Wed Oct 28 00:50:48 2009 -0700 +++ b/core/PlayerManager.cpp Wed Oct 28 23:30:52 2009 -0700 @@ -76,7 +76,11 @@ #elif SOURCE_ENGINE == SE_DARKMESSIAH SH_DECL_EXTERN0_void(ConCommand, Dispatch, SH_NOATTRIB, false); #else -extern bool __SourceHook_FHAddConCommandDispatch(void *,bool,class fastdelegate::FastDelegate0); +# if SH_IMPL_VERSION >= 4 + extern int __SourceHook_FHAddConCommandDispatch(void *,bool,class fastdelegate::FastDelegate0); +# else + extern bool __SourceHook_FHAddConCommandDispatch(void *,bool,class fastdelegate::FastDelegate0); +# endif extern bool __SourceHook_FHRemoveConCommandDispatch(void *,bool,class fastdelegate::FastDelegate0); #endif