Browse Source

oops kwlist was wrong

tickets/32/32/2
Edmond Mondor 5 months ago
parent
commit
924152da98
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue3.cpp
  2. +1
    -1
      Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp

+ 1
- 1
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue3.cpp View File

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


+ 1
- 1
Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp View File

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