1
0
Fork 0

Fixed bindings for cCompositeChat:SetMessageType().

This commit is contained in:
madmaxoft 2014-05-30 22:41:47 +02:00
parent 444cce1269
commit b9d306a801
1 changed files with 2 additions and 2 deletions

View File

@ -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: