Browse Source

Merge branch 'ticket/32'

tickets/33/33/1
rarified 2 years ago
parent
commit
84eedce685
  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") 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; PyObject* keyObj = NULL;
unsigned long type; unsigned long type;
bool broadcast = false; 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") 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; PyObject* keyObj = NULL;
bool broadcast = false; bool broadcast = false;
if (!PyArg_ParseTupleAndKeywords(args, kw, "O|b", kwlist, &keyObj, &broadcast)) if (!PyArg_ParseTupleAndKeywords(args, kw, "O|b", kwlist, &keyObj, &broadcast))

Loading…
Cancel
Save