|
|
|
@ -2792,7 +2792,7 @@ hsBool plPythonFileMod::MsgReceive(plMessage* msg)
|
|
|
|
|
plProfile_BeginTiming(PythonUpdate); |
|
|
|
|
PyObject* retVal = PyObject_CallMethod( |
|
|
|
|
fPyFunctionInstances[kfunc_OnSubtitleMsg], fFunctionNames[kfunc_OnSubtitleMsg], |
|
|
|
|
"ss", pSubMsg->GetText(), pSubMsg->GetSpeaker()); |
|
|
|
|
"ss", pSubMsg->GetText().c_str(), pSubMsg->GetSpeaker().c_str()); |
|
|
|
|
if (retVal == nil) |
|
|
|
|
{ |
|
|
|
|
#ifndef PLASMA_EXTERNAL_RELEASE |
|
|
|
|