summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-04 22:26:35 +0100
committermadmaxoft <github@xoft.cz>2014-02-04 22:26:35 +0100
commit82173db9bf9c4f076062ca316c57bf6af9ea1a83 (patch)
tree32e66afb7ca1036955fa2779dd76214bb64beb6f /src/Bindings
parentRemoved a useless check in cLuaState. (diff)
downloadcuberite-82173db9bf9c4f076062ca316c57bf6af9ea1a83.tar
cuberite-82173db9bf9c4f076062ca316c57bf6af9ea1a83.tar.gz
cuberite-82173db9bf9c4f076062ca316c57bf6af9ea1a83.tar.bz2
cuberite-82173db9bf9c4f076062ca316c57bf6af9ea1a83.tar.lz
cuberite-82173db9bf9c4f076062ca316c57bf6af9ea1a83.tar.xz
cuberite-82173db9bf9c4f076062ca316c57bf6af9ea1a83.tar.zst
cuberite-82173db9bf9c4f076062ca316c57bf6af9ea1a83.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/ManualBindings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index dbaf32756..9ebdc4b22 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -1593,9 +1593,9 @@ static int tolua_cPluginManager_CallPlugin(lua_State * tolua_S)
int m_NumReturns;
cCallback(const AString & a_FunctionName, cLuaState & a_SrcLuaState) :
+ m_NumReturns(0),
m_FunctionName(a_FunctionName),
- m_SrcLuaState(a_SrcLuaState),
- m_NumReturns(0)
+ m_SrcLuaState(a_SrcLuaState)
{
}
protected: