diff --git a/core/ChatTriggers.cpp b/core/ChatTriggers.cpp index dda4a8b7..678b6c6b 100644 --- a/core/ChatTriggers.cpp +++ b/core/ChatTriggers.cpp @@ -5,7 +5,12 @@ /* :HACKHACK: We can't SH_DECL here because ConCmdManager.cpp does */ extern bool __SourceHook_FHRemoveConCommandDispatch(void *, bool, class fastdelegate::FastDelegate0); + +#if PLAPI_VERSION >= 11 extern int __SourceHook_FHAddConCommandDispatch(void *, bool, class fastdelegate::FastDelegate0); +#else +extern bool __SourceHook_FHAddConCommandDispatch(void *, bool, class fastdelegate::FastDelegate0); +#endif ChatTriggers g_ChatTriggers;