From 20c52b661f02936d13009fa9b0e6160f1504d962 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 2 Feb 2013 11:51:51 -0500 Subject: [PATCH] Play the link-in sound by default --- Sources/Plasma/FeatureLib/pfPython/pyNetLinkingMgrGlue.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Plasma/FeatureLib/pfPython/pyNetLinkingMgrGlue.cpp b/Sources/Plasma/FeatureLib/pfPython/pyNetLinkingMgrGlue.cpp index 6a2ffd5a..1286968c 100644 --- a/Sources/Plasma/FeatureLib/pfPython/pyNetLinkingMgrGlue.cpp +++ b/Sources/Plasma/FeatureLib/pfPython/pyNetLinkingMgrGlue.cpp @@ -84,7 +84,8 @@ PYTHON_METHOD_DEFINITION_WKEY(ptNetLinkingMgr, linkToAge, args, kwargs) char* kwlist[] = { "ageLink", "anim", "linkInSfx", "linkOutSfx", nullptr }; PyObject* ageLinkObj = NULL; char* linkAnim = NULL; - bool linkInSfx, linkOutSfx = true; + bool linkInSfx = true; + bool linkOutSfx = true; if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|sbb", kwlist, &ageLinkObj, &linkAnim, &linkInSfx, &linkOutSfx)) { PyErr_SetString(PyExc_TypeError, "linkToAge expects a ptAgeLinkStruct and an optional link anim name");