mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
oops kwlist was wrong
This commit is contained in:
@ -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;
|
||||||
|
@ -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))
|
||||||
|
Reference in New Issue
Block a user