diff --git a/sourcehook/sourcehook.h b/sourcehook/sourcehook.h index 94ddd2f..4c25198 100644 --- a/sourcehook/sourcehook.h +++ b/sourcehook/sourcehook.h @@ -389,7 +389,9 @@ namespace SourceHook /* 2) Declare some vars and set it up */ \ std::list &prelist = ci.hooks_pre; \ std::list &postlist = ci.hooks_post; \ - rettype orig_ret, override_ret, plugin_ret; \ + rettype orig_ret; \ + rettype override_ret; \ + rettype plugin_ret; \ META_RES &cur_res = SH_GLOB_SHPTR->GetCurResRef(); \ META_RES &prev_res = SH_GLOB_SHPTR->GetPrevResRef(); \ META_RES &status = SH_GLOB_SHPTR->GetStatusRef(); \