svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22875:22935
[blender.git] / source / gameengine / Ketsji / KX_GameObject.cpp
index eeff39ab9b10fbb20d7ee186abb9e63475620efd..8193aa8c37bca1097b49ffa1cee11ca8d8ae4aea 100644 (file)
@@ -2716,7 +2716,7 @@ KX_PYMETHODDEF_DOC_VARARGS(KX_GameObject, sendMessage,
        char* to = (char *)"";
        const STR_String& from = GetName();
 
-       if (!PyArg_ParseTuple(args, "s|sss:sendMessage", &subject, &body, &to))
+       if (!PyArg_ParseTuple(args, "s|ss:sendMessage", &subject, &body, &to))
                return NULL;
        
        scene->GetNetworkScene()->SendMessage(to, from, subject, body);