summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-10-12 22:55:26 +0200
committerMattes D <github@xoft.cz>2013-10-12 22:55:26 +0200
commitb400a9122e6f040ee50acd85ee549f2e862eb456 (patch)
tree21177d7854f74aa6b3cdb5f80b6d98097e72954b
parentMerge pull request #224 from tonibm19/patch-7 (diff)
parentFix: Wrong arg name (diff)
downloadcuberite-b400a9122e6f040ee50acd85ee549f2e862eb456.tar
cuberite-b400a9122e6f040ee50acd85ee549f2e862eb456.tar.gz
cuberite-b400a9122e6f040ee50acd85ee549f2e862eb456.tar.bz2
cuberite-b400a9122e6f040ee50acd85ee549f2e862eb456.tar.lz
cuberite-b400a9122e6f040ee50acd85ee549f2e862eb456.tar.xz
cuberite-b400a9122e6f040ee50acd85ee549f2e862eb456.tar.zst
cuberite-b400a9122e6f040ee50acd85ee549f2e862eb456.zip
-rw-r--r--source/PluginLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/PluginLua.h b/source/PluginLua.h
index d5d202bf0..908466966 100644
--- a/source/PluginLua.h
+++ b/source/PluginLua.h
@@ -169,7 +169,7 @@ public:
}
/// Call a Lua function with 4 args
- template <typename FnT, typename ArgT0, typename ArgT1, typename ArgT2, typename ArgT3> bool Call(FnT a_Fn, ArgT0 a_Arg0, ArgT1 a_Arg1, ArgT2 a_Arg2, ArgT3 a_ArgT3)
+ template <typename FnT, typename ArgT0, typename ArgT1, typename ArgT2, typename ArgT3> bool Call(FnT a_Fn, ArgT0 a_Arg0, ArgT1 a_Arg1, ArgT2 a_Arg2, ArgT3 a_Arg3)
{
cCSLock Lock(m_CriticalSection);
return m_LuaState.Call(a_Fn, a_Arg0, a_Arg1, a_Arg2, a_Arg3);