diff options
author | madmaxoft <github@xoft.cz> | 2014-05-30 22:41:47 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-30 22:42:00 +0200 |
commit | b9d306a801af7de6c620740d5f8c827c7df29dce (patch) | |
tree | 2be7f678336a0a68d2b3b12ff25a2a46441d1299 /src/Bindings | |
parent | Cmake system name not System name (diff) | |
download | cuberite-b9d306a801af7de6c620740d5f8c827c7df29dce.tar cuberite-b9d306a801af7de6c620740d5f8c827c7df29dce.tar.gz cuberite-b9d306a801af7de6c620740d5f8c827c7df29dce.tar.bz2 cuberite-b9d306a801af7de6c620740d5f8c827c7df29dce.tar.lz cuberite-b9d306a801af7de6c620740d5f8c827c7df29dce.tar.xz cuberite-b9d306a801af7de6c620740d5f8c827c7df29dce.tar.zst cuberite-b9d306a801af7de6c620740d5f8c827c7df29dce.zip |
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index 10e560ac0..14d9d16fc 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -2864,8 +2864,8 @@ static int tolua_cCompositeChat_SetMessageType(lua_State * tolua_S) } // Set the type: - int MessageType; - L.GetStackValue(1, MessageType); + int MessageType = mtCustom; + L.GetStackValue(2, MessageType); self->SetMessageType((eMessageType)MessageType); // Cut away everything from the stack except for the cCompositeChat instance; return that: |