summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/ManualBindings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index 4ed5c1a16..4f8ff530d 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -892,6 +892,7 @@ static int tolua_cPluginManager_AddHook(lua_State * tolua_S)
else if (tolua_isusertype(S, ParamIdx, "cPlugin", 0, &err) && lua_isnumber(S, ParamIdx + 1))
{
// The next params are a cPlugin and a number, assume style 3 or 4
+ LOGINFO("cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.");
return tolua_cPluginManager_AddHook_DefFn(PlgMgr, S, ParamIdx);
}