Browse Source

oops kwlist was wrong

tickets/32/32/2
Edmond Mondor 3 years ago
parent
commit
924152da98
  1. 2
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue3.cpp
  2. 2
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp

2
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue3.cpp

@ -600,7 +600,7 @@ PYTHON_GLOBAL_METHOD_DEFINITION(PtFakeLinkAvatarToObject, args, "Params: avatar,
PYTHON_GLOBAL_METHOD_DEFINITION_WKEY(PtWearDefaultClothingType, args, kw, "Params: key,type,broadcast=false\nForces the avatar to wear the default clothing of the specified type")
{
char* kwlist[] = { "broadcast", NULL };
char* kwlist[] = { "key", "type", "broadcast", NULL };
PyObject* keyObj = NULL;
unsigned long type;
bool broadcast = false;

2
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp

@ -531,7 +531,7 @@ PYTHON_GLOBAL_METHOD_DEFINITION(PtWearMaintainerSuit, args, "Params: key,wearOrN
PYTHON_GLOBAL_METHOD_DEFINITION_WKEY(PtWearDefaultClothing, args, kw, "Params: key, broadcast=false\nForces the avatar to wear the default clothing set")
{
char* kwlist[] = { "broadcast", NULL };
char* kwlist[] = { "key", "broadcast", NULL };
PyObject* keyObj = NULL;
bool broadcast = false;
if (!PyArg_ParseTupleAndKeywords(args, kw, "O|b", kwlist, &keyObj, &broadcast))

Loading…
Cancel
Save